문제

Assuming one has already built a simple front end in angularjs, what are the steps needed to follow in order to include angularjs-bootstrap in front end and use the corresponding directives and css?

도움이 되었습니까?

해결책

Add 'ui.bootstrap' to angular.module:

var myModule = angular.module('myApp', ['ui.bootstrap']);

and sure import bootstrap javascript + css to your header

다른 팁

Dependency Injection is one of the best part of AngularJs MV * framework. You can inject it in the cntroller

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top