aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc
diff options
context:
space:
mode:
authorJeremy Wilken2013-05-17 09:55:22 -0500
committerPete Bacon Darwin2013-05-17 19:16:55 +0100
commita7ba27b92c4363a88a4f8706a72d6c3e4ff8ce01 (patch)
treecfbd2ac216b21ea1d04bf573e4ec54d740b49616 /docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc
parent2a7043fa2327ecb681f306612a96dbf29ec499e7 (diff)
downloadangular.js-a7ba27b92c4363a88a4f8706a72d6c3e4ff8ce01.tar.bz2
doc(guide:$location): fix example for two way databinding.
When you are watching the $location.path(), it has to be wrapped in a function since it is not attached to the scope and if you pass a string to $scope.$watch it is evaluated against the $scope.
Diffstat (limited to 'docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc')
0 files changed, 0 insertions, 0 deletions
p">.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "AM", "PM" ], "DAY": [ "Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu" ], "MONTH": [ "Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember" ], "SHORTDAY": [ "Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab" ], "SHORTMONTH": [ "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agt", "Sep", "Okt", "Nov", "Des" ], "fullDate": "EEEE, dd MMMM yyyy", "longDate": "d MMMM yyyy", "medium": "d MMM yyyy HH:mm:ss", "mediumDate": "d MMM yyyy", "mediumTime": "HH:mm:ss", "short": "dd/MM/yy HH:mm", "shortDate": "dd/MM/yy", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "Rp", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, "negPre": "-", "negSuf": "", "posPre": "", "posSuf": "" }, { "gSize": 3, "lgSize": 3, "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, "negPre": "\u00a4-", "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "in", "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} }); }]);