1
angular.module('dodgie', []).config(function($routeProvider){
$routeProvider.when('/home', {template:'/partials/home.html', controller:dodgieCtrl }).
otherwise({redirectTo:'/home'});
});
function dodgieCtrl($scope, $location){
$scope.doSearch = function(){
if (!$scope.newTodo.length) {
return;
}
};
};
을 구문 분석하지 않을의 내용 :내 템플릿이
<div id="content" ng-view></div>
대신입니다 : 은
<span class="ng-scope">/partials/home.html</span>
는
왜 내 파셜은
렌더링되지 않는 ?
이 비트 지난 몇 주 동안 나도 그래! 1.0.0rc11에서 변경되었습니다. – Steven