最新回答 / 会飞的鸵
var bookStoreApp = angular.module('bookStoreApp', ['ngRoute', 'ngAnimate', 'bookStoreCtrls']);在app.js中就有 里面的模块依赖bookStoreCtrls
2015-10-11
最新回答 / Sandy2015
bookStoreCtrls.controller('testCtrl',['$scope', function($scope){ $scope.ctrlFlavor = '盛开的鲜花'; $scope.ctrlFlowers = '我是盛开的鲜花22'; }]);bookStoreDirectives.directive('drink2',function(){ return { restrict:'AE', sc...
2015-10-10