I searched around. Some people run into this problem because they forgot to enable certain modules, such as ngRoute or ngAnimate ... I have included and entered them.
I use Yeoman to download the project, and the application starts long before the minimization, which is done using the "grunt server"
and after minimizing (when I run "grunt server: dist"), I ran into this problem:
Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.2.1/$injector/modulerr?p0=app&p1=Error%3A%20%…0(http%3A%2F%2Flocalhost%3A9000%2Fscripts%2Fd3a6bda4.vendor.js%3A1%3A11551) d3a6bda4.vendor.js:1
Any idea on this? Thanks in advance.
@tschiela, thanks for inviting me to take a look at Gruntfile.js, but I think that everything should be fine, since I use AngularJS (1.0.8) along with my other projects, and I use the same Gruntfile.js through projects.
@Gorgi Rankovski, thanks for inviting me to take a look at my code, here is the code I use CoffeeScript, I think I got what you mean,
`` `CoffeeScript
angular.module('app.controllers', [])
.controller('AppCtrl', [
'$scope', '$location'
($scope, $location) ->
$scope.isSpecificPage = ->
path = $location.path()
return _.contains( ['/', '/index-vendor', '/404', '/signin', '/signup'], path )
])
`` ``