سؤال

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