Skip to content

Instantly share code, notes, and snippets.

@woosuk288
woosuk288 / app.js
Last active Aug 29, 2015
start-ng 02. AngularJS 살펴보기
View app.js
var todoApp = angular.module('todoApp', []);
var todoList = [{done : true, title : "AngularJS 독서"},
{done : false, title : "AngularJS 공부하기"},
{done : false, title : "개인 프로젝트 구성"}
];
todoApp.controller('todoCtrl', function ($scope){
$scope.appName = "AngularJS TODO APP";
$scope.todoList = todoList;