Skip to content

Instantly share code, notes, and snippets.

@itokami1123dev
Last active August 29, 2015 13:56
Show Gist options
  • Save itokami1123dev/9014617 to your computer and use it in GitHub Desktop.
Save itokami1123dev/9014617 to your computer and use it in GitHub Desktop.

福岡 冬のハッカソン祭り

#GDGQ

AngularJSで業務で利用できるものを作るよハッカソン

mgechev / angularjs-style-guide

.
├── app
│   ├── app.js
│   ├── controllers
│   │   ├── page1
│   │   │   ├── FirstCtrl.js
│   │   │   └── SecondCtrl.js
│   │   └── page2
│   │       └── ThirdCtrl.js
│   ├── directives
│   │   ├── page1
│   │   │   └── directive1.js
│   │   └── page2
│   │       ├── directive2.js
│   │       └── directive3.js
│   ├── filters
│   │   ├── page1
│   │   └── page2
│   └── services
│       ├── CommonService.js
│       ├── cache
│       │   ├── Cache1.js
│       │   └── Cache2.js
│       └── models
│           ├── Model1.js
│           └── Model2.js
├── lib
└── test

ソースコードのminify

http://www.jetbrains.com/idea/webhelp/minifying-javascript.html#d207331e382

AngularJSのminify対策がngminでラクになる

AngularJSのminify対策がngminでラクになる http://angularjsninja.com/blog/2013/12/03/angularjs-ngmin/

もうちょい調査が必要


factoryとserviceの違いは↓ ---

http://faltc.blogspot.jp/2013/11/angularjsfactoryservice.html [Angular.js]factoryとserviceの使い分けについて

factoryは、渡したfunctionをfunctionのままサービスに登録する。 serviceは、渡したfunctionをコンストラクタとしてインスタンスを生成し、そのインスタンスをサービスに登録する。

AngularJS の service についてのまとめ http://bokukoko.hatenablog.com/entry/20130930/1380532909

Service を作る factory と provider の違い Serviceを作るにはserviceというそのまんまのメソッドが提供されているが、これは自分で一からクラスを作らないといけなかったりで割と使いにくい。 AngularJSではfactoryとproviderの2つがよく使われるそうだ。 結論から言うとまずは「標準ではfactory, 細かな初期設定が必要な場合はproviderを使う」と覚えておけばいいと思う。

結論:factory使う

あっこの資料も参考になるなぁ あなたの知りたかったAngularJS

IntelliJのchrome拡張

https://docs.google.com/presentation/d/


### 明細表示はライブラリを使う? --- Angular Modules http://ngmodules.org/

ngTable v0.3.1 Angula

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment