I look at this jsfiddle: http://jsfiddle.net/carpasse/mcVfK/ It works fine, this is not a problem, I just want to know how to debug javascript. I tried using the debugger command, and I cannot find it in the sources tab. any idea how i can debug this?
some code from the script:
angular.module('app', ['appServices']) .config(['$routeProvider', function($routeProvider) { $routeProvider. when('/home', {templateUrl: 'home.html', controller: HomeCtrl}). when('/list', {templateUrl: 'list.html', controller: ListCtrl}). when('/detail/:itemId', {templateUrl: 'detail.html', controller: DetailCtrl}). when('/settings', {templateUrl: 'settings.html', controller: SettingsCtrl}). otherwise({redirectTo: '/home'}); }]);
debugging angularjs jsfiddle
Pindakaas Oct 18 '13 at 22:32 2013-10-18 22:32
source share