代码改变世界

随笔档案-2015年12月

AngularJS Best Practices: resource

2015-12-17 06:15 by zhangpengc, 184 阅读, 收藏,
摘要: A factory which creates a resource object that lets you interact withRESTfulserver-side data sources.The returned resource object has action methods w... 阅读全文

Force StyleCop to Ignore a File

2015-12-02 23:49 by zhangpengc, 215 阅读, 收藏,
摘要: You can quickly force StyleCop to ignore files in a project by manually modifying the project file, and inserting the following element under each fil... 阅读全文

AngularJS Best Practices: SEO

2015-12-02 05:59 by zhangpengc, 268 阅读, 收藏,
摘要: AngularJS SEO 阅读全文

AngularJS Best Practices: ui-router

2015-12-02 05:22 by zhangpengc, 232 阅读, 收藏,
摘要: ui-router is a 3rd-party module and is very powerful. It supports everything the normal ngRoute can do as well as many extra functions.Here are some c... 阅读全文

AngularJS Best Practices: ASP.NET MVC Directory Structure

2015-12-02 05:03 by zhangpengc, 193 阅读, 收藏,
摘要: An ideal AngularJS app structure should be modularized into very specific functions and this is specific to AngularJS with ASP.NET MVC. 阅读全文

AngularJS Best Practices: pretty urls

2015-12-02 04:57 by zhangpengc, 189 阅读, 收藏,
摘要: Pretty URLs in AngularJS: Removing the # 阅读全文

AngularJS Best Practices: ngRoute

2015-12-01 06:18 by zhangpengc, 342 阅读, 收藏,
摘要: AngularJS routing helps you in dividing your application in logical views and bind different views to controllers. The magic of routing is taken care by a service provider that AngularJS provides out of the box called $routeProvider. 阅读全文

AngularJS Best Practices: Directory Structure

2015-12-01 00:47 by zhangpengc, 160 阅读, 收藏,
摘要: An ideal AngularJS app structure should be modularized into very specific functions. 阅读全文