AngularJS tutorial #1
- angular-seed angular/angular-seed · GitHub
<html ng-app>
<li ng-repeat="phone in phones">
<body ng-controller="PhoneListCtrl">
var phonecatApp = angular.module('phonecatApp', []);
phonecatApp.controller('PhoneListCtrl', function($scope) {
The prefix ng stands for "Angular;"
- Karma - Spectacular Test Runner for JavaScript Karma - Spectacular Test Runner for Javascript
- Jasmine
$ scripts/test.sh
- guardみたいに変更したらテストが走る
- Search
Search: <input ng-model="query">
<li ng-repeat="phone in phones | filter:query">
- end2end test
- need karma-ng-scenario framework plugin
- http://localhost:8000/test/e2e/runner.html
./scripts/e2e-test.sh
pause()
inside test- ブラウザ上のresumeのリンクをクリックして再開
- node_modules
step 0-step 3 done!