Found possible error


#1

I copied the awesome dreamfactory angular project from github, in my app.js looks like that:

// Define our application module and add dependencies
angular.module('angularjsAuthTutorialApp', [
...
.config(['$routeProvider', function ($routeProvider) {
...
.config(function ($routeProvider) {
...

It worked fine until I run grunt serve which gave an injector error, just realize I had to change the line
.config(function ($routeProvider) {
to
.config([’$provide’, function ($provide) {


#2

What version of Angular are you using here? This worked at one time, but may have been specific to Angular at that point in time.