Hi Tariq, $routeProvider will be available if you also include angular-route: https://docs.angularjs.org/api/ngRoute
Sent from my iPhone Because reasons > On Nov 11, 2015, at 5:02 PM, Tariq <[email protected]> wrote: > > Hi there; > I am working with the $routeProvider: I get the following error: > > [$injector:unpr] Unknown provider: $routeProvider > > when I include the script: > > <script src="bower_components/angular/angular.js"></script> > > > this is the source I have created with the command: > > bower install angular > > however, if I include the following source instead: > > <script > src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script> > > > everything goes fine, would someone enlighten me please!. > Thanks. > Tariq > > bower_components/angular/angular.js > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
