GDG中国 第20回勉強会@福山
![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
会議室への案内板が「小(4) 和室」となっていたので「今日は和室か!?」と進んで行ったら、「小4会議室」と「和室」でした...(^^;) #gdgchugoku
2013-06-29 13:13:04![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
AngularJS公式サイトのTutorialソースをgitで取得して、nodeで./scripts/web-server.jsを起動中。 #gdgchugoku
2013-06-29 14:18:09![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
ついでに今日はここでJs最高だぜ!してる。 https://t.co/DHX1kWAUUh #gdgchugoku
2013-06-29 14:45:43![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
AngularJSのLibとかはWebから引っ張ってくるしAngularJSを実行した上で組み込みブラウザが保存直後に表現してくれるから便利 #NetBeansよく出来てんな #gdgchugoku
2013-06-29 14:57:07![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
AngularJSは他のライブラリ(JQueryとか)と共存出来る。 つまり両方使えるのでViewの調整はJQuery、データはAngularJSとか出来る。 #gdgchugoku
2013-06-29 14:58:45![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
Windows8上ののVirtualBoxでubuntuをフルスクリーンで開くとクリックできる部分が表示している部分の少し上になる。 使いづらい。 #gdgchugoku
2013-06-29 15:06:26![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
わかった。JavaScriptではfunctionもクラスなので、関数名というかクラス名の先頭を大文字で書く流れですね。 #gdgchugoku
2013-06-29 15:11:55![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
本日の移動のバス&電車の中で「JUnit実践入門」の1章〜5章あたりを読んでいて良かった!karmaの動作確認の説明をギリギリ理解できた!(^o^)v #gdgchugoku
2013-06-29 15:18:21![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
AngularJSでのAjaxはControllerの引数に$httpを足。 $http.get(URL).success(function(data) { //成功の処理 }).error(function(data) { //失敗の処理 }); #gdgchugoku
2013-06-29 16:16:18![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
AngularJSのデフォルトContent-Typeは「application/json」なので、$postの値を扱う際などは要注意!(Content-Typeは変更可能) #gdgchugoku
2013-06-29 16:21:36![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
AngularJSのjsファイルを圧縮する際は「コントローラー.$inject={'$scope','$http'}」の記述が必要。 #gdgchugoku
2013-06-29 16:51:00