摘要: In the previous post, we use $stateProvider deriect to root url and using MainCtrl, categories.tmpl.html. .config(function($stateProvider){ ... 阅读全文
posted @ 2014-11-04 21:31 Zhentiw 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 1. Install ui-route, include js file in html and add dependence in js file.bower install angular-ui-routerangular.module('Eggly', [ 'ui.router', ... 阅读全文
posted @ 2014-11-04 20:36 Zhentiw 阅读(386) 评论(0) 推荐(0) 编辑