javascript - angularjs controller module reference loads blank page -


i'm trying implement angular-wizard module.

i have angular app generated yeoman. used bower install angular-wizard module , referenced in index.html right above app.js script tag other modules, angular-resource, angular-cookies etc.

the main view loads fine until add mgo-angular-wizard reference controller dependencies, when added page loads blank no errors in console. eg:

'use strict';  angular.module('merlinapp', ['mgo-angular-wizard']) // breaks   .controller('mainctrl', function ($scope) {     $scope.awesomethings = [       'html5 boilerplate',       'angularjs',       'karma'     ];   }); 

my index.html has following scripts included in order:

<script src="bower_components/jquery/jquery.js"></script> <script src="bower_components/angular/angular.js"></script>      <!-- build:js scripts/modules.js -->     <script src="bower_components/angular-resource/angular-resource.js"></script>     <script src="bower_components/angular-cookies/angular-cookies.js"></script>     <script src="bower_components/angular-sanitize/angular-sanitize.js"></script>     <script src="bower_components/angular-route/angular-route.js"></script>     <script src="bower_components/angular-wizard/dist/angular-wizard.js"></script>     <!-- endbuild -->      <!-- build:js({.tmp,app}) scripts/scripts.js -->     <script src="scripts/app.js"></script>     <script src="scripts/controllers/main.js"></script>     <!-- endbuild --> 

lodash (or underscore) dependency ?

if still not working, try adding wizard directive in html page.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -