2013-07-21

AngularJS Learning Resources


AngularJS Developer Guide

http://docs.angularjs.org/guide/
pdf version : http://mattkruse.com/angular/


eBook

http://it-ebooks.info/book/2076/

Video Tutorial: AngularJS Fundamentals in 60-ish Minutes

http://weblogs.asp.net/dwahlin/archive/2013/04/12/video-tutorial-angularjs-fundamentals-in-60-ish-minutes.aspx


AngularJS Cheat Sheet

http://www.cheatography.com/proloser/cheat-sheets/angularjs/

AngularJS different between Services, Factories, Providers


Reference:
  • http://stackoverflow.com/questions/15666048/angular-js-service-vs-provide-vs-factory
  • https://groups.google.com/forum/#!msg/angular/56sdORWEoqg/HuZsOsMvKv4J 

Services
Syntax: module.service( 'serviceName', function ); Result: When declaring serviceName as an injectable argument you will be provided with an instance of the function. In other words new FunctionYouPassedToService().

Factories
Syntax: module.factory( 'factoryName', function ); Result: When declaring factoryName as an injectable argument you will be provided with the value that is returned by invoking the function reference passed to module.factory.
Providers
Syntax: module.provider( 'providerName', function ); Result: When declaring providerName as an injectable argument you will be provided with new ProviderFunction().$get(). The constructor function is instantiated before the $get method is called - ProviderFunction is the function reference passed to module.provider.
Providers have the advantage that they can be configured during the module configuration phase.
see here for the provided code: http://jsbin.com/ohamub/1/edit
 .......

2013-07-20

A Color Guide For Designers


文章出處:

  • http://visual.ly/color-guide-designers


簡體翻譯:

  • http://www.alibuybuy.com/posts/82447.html

該網頁提供的內嵌圖片