Added ng:options directive

Closes #301
This commit is contained in:
Misko Hevery
2011-04-19 16:34:49 -07:00
parent 89e001b18a
commit af285dd370
9 changed files with 498 additions and 159 deletions

View File

@@ -239,6 +239,8 @@ function parser(text, json){
pipeFunction =
function (){ throwError("is not valid json", {text:text, index:0}); };
}
//TODO: Shouldn't all of the public methods have assertAllConsumed?
//TODO: I think these should be public as part of the parser api instead of scope.$eval().
return {
assignable: assertConsumed(assignable),
primary: assertConsumed(primary),
@@ -659,4 +661,3 @@ function parser(text, json){