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

I want to use Angularjs Bootstrap UI in my application.after angular.js reference i include these files in my index pages :


and in my application app.js include this line :

var ap = angular.module('ap', ['ngRoute','ui.bootstrap']).config(negsotimeRouter);

but i get this error when try to see the page :

Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.2.16/$injector/modulerr?p0=negsotime&p1=Error…arjs.org%2F1.2.16%2F%24injector%2Fmodulerr%3Fp0%3Dui.bootstrap%26p1%3DErro...<omitted>...5) angular.js:36

with the following link Error Link

share|improve this question
    
do you need that config? try removeing it ? var ap = angular.module('ap', ['ngRoute','ui.bootstrap']); –  Erick Apr 16 at 10:45
    
Yes. negsotimeRouter is my router function –  user3413838 Apr 16 at 10:51
    
And you have misspelled <scripttype –  Erick Apr 16 at 10:52
    
if fix it . the error style happen –  user3413838 Apr 16 at 10:54
    
check if all included files are loaded, by CTRL+ U and search for file names. Another misspelled is that you haven`t closed boostrap script tag... –  Erick Apr 16 at 11:07

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.