ï¼150522追è¨ï¼æ¬ç¨¿ã®ç¶ç·¨ã¨ãã¦AngularJSã¢ãã³ãã©ã¯ãã£ã¹ãæ²è¼ãã¾ãããæ¬ç¨¿ã¯2014å¹´9æã«å·çããæ
å ±ãããªãå¤ããªã£ã¦ãã¾ããç¶ç·¨ã§ã¯ãAngularJS 1.4ãAngular 2ã«é¢ããæ
å ±ãã¾ã¨ããå
¥éè
ã¸ã®æ°é®®ãªãã¥ã¼ããªã¢ã«ãçç·´è
ã®ç§»è¡æå¼ã¨ãã¦ä½æãã¾ãããã©ããã覧ãã ããã ãã®è¨äºã¯è¨é²ã®ããæ®ãã¾ãã AngularJSæ´1å¹´ã®çè
ã«ããå人çãªAngularJSã¢ã³ããã¿ã¼ã³éã§ããèªåã®ããã®æãã¨ã¡ã¢ãå
¼ãã¦ãã¾ããå人差ãããã¨æãã¾ãã®ã§ãåèç¨åº¦ã«ã ã¾ããçè
ã¯TypeScriptã§æ¸ãã¦ãã¾ãã Components Componentsã®DIæ°ã6以ä¸ã«ãªã å±éºåº¦â
â
â
angular.module('myApp') .service('FooService', [ '$q', '$resource', '$rootScope
{{#tags}}- {{label}}
{{/tags}}