Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free.

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?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Add 'ui.bootstrap' to angular.module:

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

and sure import bootstrap javascript + css to your header

share|improve this answer
    
This is what I was looking for. Thanks. –  Sangram Sep 19 '13 at 9:06

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.