user3119460
user3119460

Reputation: 3

why wont this simple todo list work in angular

http://plnkr.co/edit/jNEPaZcVIdzCrqUpO0PF?p=preview

Ive been playing around with this for a while and cant seem to spot qhy data binding/ ect isnt working.

Upvotes: 0

Views: 63

Answers (2)

Spencer
Spencer

Reputation: 71

<html ng-app"myAppz">

angular.module('myApp', [])

myAppz should be equal to myApp, otherwise the angular application cannot be initilized.

Upvotes: 0

blu
blu

Reputation: 13185

You need ng-app="myApp" on the html tag.

http://plnkr.co/edit/qi9L8JKtJE3o8WnWgca2?p=preview

Upvotes: 2

Related Questions