Skip to content
Browse files

remove bogus docs dir

  • Loading branch information...
1 parent 4513551 commit f55e2d3449a0a98480fa357a9e5507841d0e69f8 @IgorMinar IgorMinar committed Aug 31, 2012
Showing with 0 additions and 19,322 deletions.
  1. +0 −11 0.9.19/docs-0.9.19xx/.htaccess
  2. +0 −72 0.9.19/docs-0.9.19xx/api/angular.Array.add.html
  3. +0 −51 0.9.19/docs-0.9.19xx/api/angular.Array.count.html
  4. +0 −82 0.9.19/docs-0.9.19xx/api/angular.Array.filter.html
  5. +0 −30 0.9.19/docs-0.9.19xx/api/angular.Array.html
  6. +0 −41 0.9.19/docs-0.9.19xx/api/angular.Array.indexOf.html
  7. +0 −43 0.9.19/docs-0.9.19xx/api/angular.Array.limitTo.html
  8. +0 −85 0.9.19/docs-0.9.19xx/api/angular.Array.orderBy.html
  9. +0 −54 0.9.19/docs-0.9.19xx/api/angular.Array.remove.html
  10. +0 −63 0.9.19/docs-0.9.19xx/api/angular.Array.sum.html
  11. +0 −56 0.9.19/docs-0.9.19xx/api/angular.Object.copy.html
  12. +0 −52 0.9.19/docs-0.9.19xx/api/angular.Object.equals.html
  13. +0 −18 0.9.19/docs-0.9.19xx/api/angular.Object.html
  14. +0 −34 0.9.19/docs-0.9.19xx/api/angular.Object.size.html
  15. +0 −12 0.9.19/docs-0.9.19xx/api/angular.attrMarkup.html
  16. +0 −23 0.9.19/docs-0.9.19xx/api/angular.bind.html
  17. +0 −103 0.9.19/docs-0.9.19xx/api/angular.compile.html
  18. +0 −40 0.9.19/docs-0.9.19xx/api/angular.directive.html
  19. +0 −17 0.9.19/docs-0.9.19xx/api/angular.directive.ng:autobind.html
  20. +0 −52 0.9.19/docs-0.9.19xx/api/angular.directive.ng:bind-attr.html
  21. +0 −38 0.9.19/docs-0.9.19xx/api/angular.directive.ng:bind-template.html
  22. +0 −33 0.9.19/docs-0.9.19xx/api/angular.directive.ng:bind.html
  23. +0 −40 0.9.19/docs-0.9.19xx/api/angular.directive.ng:change.html
  24. +0 −32 0.9.19/docs-0.9.19xx/api/angular.directive.ng:checked.html
  25. +0 −39 0.9.19/docs-0.9.19xx/api/angular.directive.ng:class-even.html
  26. +0 −39 0.9.19/docs-0.9.19xx/api/angular.directive.ng:class-odd.html
  27. +0 −41 0.9.19/docs-0.9.19xx/api/angular.directive.ng:class.html
  28. +0 −32 0.9.19/docs-0.9.19xx/api/angular.directive.ng:click.html
  29. +0 −91 0.9.19/docs-0.9.19xx/api/angular.directive.ng:controller.html
  30. +0 −36 0.9.19/docs-0.9.19xx/api/angular.directive.ng:disabled.html
  31. +0 −55 0.9.19/docs-0.9.19xx/api/angular.directive.ng:eval-order.html
  32. +0 −42 0.9.19/docs-0.9.19xx/api/angular.directive.ng:eval.html
  33. +0 −36 0.9.19/docs-0.9.19xx/api/angular.directive.ng:hide.html
  34. +0 −77 0.9.19/docs-0.9.19xx/api/angular.directive.ng:href.html
  35. +0 −30 0.9.19/docs-0.9.19xx/api/angular.directive.ng:init.html
  36. +0 −37 0.9.19/docs-0.9.19xx/api/angular.directive.ng:multiple.html
  37. +0 −125 0.9.19/docs-0.9.19xx/api/angular.directive.ng:options.html
  38. +0 −32 0.9.19/docs-0.9.19xx/api/angular.directive.ng:readonly.html
  39. +0 −35 0.9.19/docs-0.9.19xx/api/angular.directive.ng:selected.html
  40. +0 −36 0.9.19/docs-0.9.19xx/api/angular.directive.ng:show.html
  41. +0 −25 0.9.19/docs-0.9.19xx/api/angular.directive.ng:src.html
  42. +0 −36 0.9.19/docs-0.9.19xx/api/angular.directive.ng:style.html
  43. +0 −36 0.9.19/docs-0.9.19xx/api/angular.directive.ng:submit.html
  44. +0 −62 0.9.19/docs-0.9.19xx/api/angular.element.html
  45. +0 −17 0.9.19/docs-0.9.19xx/api/angular.extend.html
  46. +0 −45 0.9.19/docs-0.9.19xx/api/angular.filter.currency.html
  47. +0 −92 0.9.19/docs-0.9.19xx/api/angular.filter.date.html
  48. +0 −26 0.9.19/docs-0.9.19xx/api/angular.filter.html
  49. +0 −97 0.9.19/docs-0.9.19xx/api/angular.filter.html.html
  50. +0 −42 0.9.19/docs-0.9.19xx/api/angular.filter.json.html
  51. +0 −80 0.9.19/docs-0.9.19xx/api/angular.filter.linky.html
  52. +0 −12 0.9.19/docs-0.9.19xx/api/angular.filter.lowercase.html
  53. +0 −48 0.9.19/docs-0.9.19xx/api/angular.filter.number.html
  54. +0 −12 0.9.19/docs-0.9.19xx/api/angular.filter.uppercase.html
  55. +0 −33 0.9.19/docs-0.9.19xx/api/angular.forEach.html
  56. +0 −36 0.9.19/docs-0.9.19xx/api/angular.formatter.boolean.html
  57. +0 −19 0.9.19/docs-0.9.19xx/api/angular.formatter.html
  58. +0 −36 0.9.19/docs-0.9.19xx/api/angular.formatter.json.html
  59. +0 −39 0.9.19/docs-0.9.19xx/api/angular.formatter.list.html
  60. +0 −35 0.9.19/docs-0.9.19xx/api/angular.formatter.number.html
  61. +0 −39 0.9.19/docs-0.9.19xx/api/angular.formatter.trim.html
  62. +0 −19 0.9.19/docs-0.9.19xx/api/angular.fromJson.html
  63. +0 −15 0.9.19/docs-0.9.19xx/api/angular.identity.html
  64. +0 −47 0.9.19/docs-0.9.19xx/api/angular.injector.html
  65. +0 −17 0.9.19/docs-0.9.19xx/api/angular.isArray.html
  66. +0 −17 0.9.19/docs-0.9.19xx/api/angular.isDate.html
  67. +0 −17 0.9.19/docs-0.9.19xx/api/angular.isDefined.html
  68. +0 −17 0.9.19/docs-0.9.19xx/api/angular.isFunction.html
  69. +0 −17 0.9.19/docs-0.9.19xx/api/angular.isNumber.html
  70. +0 −18 0.9.19/docs-0.9.19xx/api/angular.isObject.html
  71. +0 −17 0.9.19/docs-0.9.19xx/api/angular.isString.html
  72. +0 −17 0.9.19/docs-0.9.19xx/api/angular.isUndefined.html
  73. +0 −17 0.9.19/docs-0.9.19xx/api/angular.lowercase.html
  74. +0 −17 0.9.19/docs-0.9.19xx/api/angular.markup.html
  75. +0 −15 0.9.19/docs-0.9.19xx/api/angular.mock.html
  76. +0 −23 0.9.19/docs-0.9.19xx/api/angular.mock.service.$browser.html
  77. +0 −17 0.9.19/docs-0.9.19xx/api/angular.mock.service.$browser.xhr.expectDELETE.html
  78. +0 −17 0.9.19/docs-0.9.19xx/api/angular.mock.service.$browser.xhr.expectGET.html
  79. +0 −17 0.9.19/docs-0.9.19xx/api/angular.mock.service.$browser.xhr.expectJSON.html
  80. +0 −17 0.9.19/docs-0.9.19xx/api/angular.mock.service.$browser.xhr.expectPOST.html
  81. +0 −17 0.9.19/docs-0.9.19xx/api/angular.mock.service.$browser.xhr.expectPUT.html
  82. +0 −9 0.9.19/docs-0.9.19xx/api/angular.mock.service.$browser.xhr.flush.html
  83. +0 −38 0.9.19/docs-0.9.19xx/api/angular.mock.service.$browser.xhr.html
  84. +0 −10 0.9.19/docs-0.9.19xx/api/angular.mock.service.$exceptionHandler.html
  85. +0 −10 0.9.19/docs-0.9.19xx/api/angular.mock.service.$log.html
  86. +0 −16 0.9.19/docs-0.9.19xx/api/angular.noop.html
  87. +0 −35 0.9.19/docs-0.9.19xx/api/angular.scope.$become.html
  88. +0 −20 0.9.19/docs-0.9.19xx/api/angular.scope.$bind.html
  89. +0 −36 0.9.19/docs-0.9.19xx/api/angular.scope.$eval.html
  90. +0 −27 0.9.19/docs-0.9.19xx/api/angular.scope.$get.html
  91. +0 −22 0.9.19/docs-0.9.19xx/api/angular.scope.$new.html
  92. +0 −29 0.9.19/docs-0.9.19xx/api/angular.scope.$onEval.html
  93. +0 −20 0.9.19/docs-0.9.19xx/api/angular.scope.$service.html
  94. +0 −25 0.9.19/docs-0.9.19xx/api/angular.scope.$set.html
  95. +0 −42 0.9.19/docs-0.9.19xx/api/angular.scope.$tryEval.html
  96. +0 −46 0.9.19/docs-0.9.19xx/api/angular.scope.$watch.html
  97. +0 −23 0.9.19/docs-0.9.19xx/api/angular.scope.html
  98. +0 −148 0.9.19/docs-0.9.19xx/api/angular.service.$browser.html
  99. +0 −43 0.9.19/docs-0.9.19xx/api/angular.service.$cookieStore.html
  100. +0 −16 0.9.19/docs-0.9.19xx/api/angular.service.$cookies.html
  101. +0 −31 0.9.19/docs-0.9.19xx/api/angular.service.$defer.html
  102. +0 −12 0.9.19/docs-0.9.19xx/api/angular.service.$document.html
  103. +0 −18 0.9.19/docs-0.9.19xx/api/angular.service.$exceptionHandler.html
  104. +0 −16 0.9.19/docs-0.9.19xx/api/angular.service.$hover.html
  105. +0 −9 0.9.19/docs-0.9.19xx/api/angular.service.$invalidWidgets.html
  106. +0 −109 0.9.19/docs-0.9.19xx/api/angular.service.$location.html
  107. +0 −42 0.9.19/docs-0.9.19xx/api/angular.service.$log.html
  108. +0 −203 0.9.19/docs-0.9.19xx/api/angular.service.$resource.html
  109. +0 −147 0.9.19/docs-0.9.19xx/api/angular.service.$route.html
  110. +0 −37 0.9.19/docs-0.9.19xx/api/angular.service.$updateView.html
  111. +0 −21 0.9.19/docs-0.9.19xx/api/angular.service.$window.html
  112. +0 −19 0.9.19/docs-0.9.19xx/api/angular.service.$xhr.bulk.html
  113. +0 −52 0.9.19/docs-0.9.19xx/api/angular.service.$xhr.cache.html
  114. +0 −46 0.9.19/docs-0.9.19xx/api/angular.service.$xhr.error.html
  115. +0 −191 0.9.19/docs-0.9.19xx/api/angular.service.$xhr.html
  116. +0 −28 0.9.19/docs-0.9.19xx/api/angular.service.html
  117. +0 −19 0.9.19/docs-0.9.19xx/api/angular.toJson.html
  118. +0 −17 0.9.19/docs-0.9.19xx/api/angular.uppercase.html
  119. +0 −59 0.9.19/docs-0.9.19xx/api/angular.validator.asynchronous.html
  120. +0 −36 0.9.19/docs-0.9.19xx/api/angular.validator.date.html
  121. +0 −35 0.9.19/docs-0.9.19xx/api/angular.validator.email.html
  122. +0 −28 0.9.19/docs-0.9.19xx/api/angular.validator.html
  123. +0 −49 0.9.19/docs-0.9.19xx/api/angular.validator.integer.html
  124. +0 −36 0.9.19/docs-0.9.19xx/api/angular.validator.json.html
  125. +0 −49 0.9.19/docs-0.9.19xx/api/angular.validator.number.html
  126. +0 −35 0.9.19/docs-0.9.19xx/api/angular.validator.phone.html
  127. +0 −46 0.9.19/docs-0.9.19xx/api/angular.validator.regexp.html
  128. +0 −35 0.9.19/docs-0.9.19xx/api/angular.validator.url.html
  129. +0 −17 0.9.19/docs-0.9.19xx/api/angular.version.html
  130. +0 −38 0.9.19/docs-0.9.19xx/api/angular.widget.@ng:format.html
  131. +0 −31 0.9.19/docs-0.9.19xx/api/angular.widget.@ng:non-bindable.html
  132. +0 −67 0.9.19/docs-0.9.19xx/api/angular.widget.@ng:repeat.html
  133. +0 −29 0.9.19/docs-0.9.19xx/api/angular.widget.@ng:required.html
  134. +0 −42 0.9.19/docs-0.9.19xx/api/angular.widget.@ng:validate.html
  135. +0 −132 0.9.19/docs-0.9.19xx/api/angular.widget.HTML.html
  136. +0 −27 0.9.19/docs-0.9.19xx/api/angular.widget.html
  137. +0 −53 0.9.19/docs-0.9.19xx/api/angular.widget.ng:include.html
  138. +0 −47 0.9.19/docs-0.9.19xx/api/angular.widget.ng:switch.html
  139. +0 −70 0.9.19/docs-0.9.19xx/api/angular.widget.ng:view.html
  140. +0 −84 0.9.19/docs-0.9.19xx/api/index.html
  141. +0 −261 0.9.19/docs-0.9.19xx/appcache-offline.manifest
  142. +0 −20 0.9.19/docs-0.9.19xx/appcache.manifest
  143. +0 −102 0.9.19/docs-0.9.19xx/cookbook/advancedform.html
  144. +0 −58 0.9.19/docs-0.9.19xx/cookbook/buzz.html
  145. +0 −112 0.9.19/docs-0.9.19xx/cookbook/deeplinking.html
  146. +0 −95 0.9.19/docs-0.9.19xx/cookbook/form.html
  147. +0 −30 0.9.19/docs-0.9.19xx/cookbook/helloworld.html
  148. +0 −50 0.9.19/docs-0.9.19xx/cookbook/index.html
  149. +0 −120 0.9.19/docs-0.9.19xx/cookbook/mvc.html
  150. +0 −547 0.9.19/docs-0.9.19xx/docs-combined.css
  151. +0 −374 0.9.19/docs-0.9.19xx/docs-combined.js
  152. +0 −213 0.9.19/docs-0.9.19xx/docs-keywords.js
  153. +0 −10 0.9.19/docs-0.9.19xx/docs-scenario.html
  154. +0 −4,830 0.9.19/docs-0.9.19xx/docs-scenario.js
  155. +0 −2 0.9.19/docs-0.9.19xx/examples/book.html
  156. +0 −3 0.9.19/docs-0.9.19xx/examples/chapter.html
  157. +0 −1 0.9.19/docs-0.9.19xx/examples/ng-include/template1.html
  158. +0 −1 0.9.19/docs-0.9.19xx/examples/ng-include/template2.html
  159. +0 −18 0.9.19/docs-0.9.19xx/examples/settings.html
  160. +0 −5 0.9.19/docs-0.9.19xx/examples/welcome.html
  161. +0 −97 0.9.19/docs-0.9.19xx/guide/dev_guide.bootstrap.auto_bootstrap.html
  162. +0 −65 0.9.19/docs-0.9.19xx/guide/dev_guide.bootstrap.html
  163. +0 −45 0.9.19/docs-0.9.19xx/guide/dev_guide.bootstrap.manual_bootstrap.html
  164. +0 −35 0.9.19/docs-0.9.19xx/guide/dev_guide.compiler.directives.creating_directives.html
  165. +0 −49 0.9.19/docs-0.9.19xx/guide/dev_guide.compiler.directives.html
  166. +0 −44 0.9.19/docs-0.9.19xx/guide/dev_guide.compiler.directives_widgets.html
  167. +0 −89 0.9.19/docs-0.9.19xx/guide/dev_guide.compiler.extending_compiler.html
  168. +0 −28 0.9.19/docs-0.9.19xx/guide/dev_guide.compiler.html
  169. +0 −68 0.9.19/docs-0.9.19xx/guide/dev_guide.compiler.markup.html
  170. +0 −18 0.9.19/docs-0.9.19xx/guide/dev_guide.compiler.testing_dom_element.html
  171. +0 −69 0.9.19/docs-0.9.19xx/guide/dev_guide.compiler.understanding_compiler.html
  172. +0 −76 0.9.19/docs-0.9.19xx/guide/dev_guide.compiler.widgets.creating_widgets.html
  173. +0 −34 0.9.19/docs-0.9.19xx/guide/dev_guide.compiler.widgets.html
  174. +0 −31 0.9.19/docs-0.9.19xx/guide/dev_guide.di.html
  175. +0 −93 0.9.19/docs-0.9.19xx/guide/dev_guide.di.understanding_di.html
  176. +0 −41 0.9.19/docs-0.9.19xx/guide/dev_guide.di.using_di_controllers.html
  177. +0 −212 0.9.19/docs-0.9.19xx/guide/dev_guide.expressions.html
  178. +0 −45 0.9.19/docs-0.9.19xx/guide/dev_guide.introduction.html
  179. +0 −25 0.9.19/docs-0.9.19xx/guide/dev_guide.mvc.html
  180. +0 −241 0.9.19/docs-0.9.19xx/guide/dev_guide.mvc.understanding_controller.html
  181. +0 −77 0.9.19/docs-0.9.19xx/guide/dev_guide.mvc.understanding_model.html
  182. +0 −21 0.9.19/docs-0.9.19xx/guide/dev_guide.mvc.understanding_view.html
  183. +0 −211 0.9.19/docs-0.9.19xx/guide/dev_guide.overview.html
  184. +0 −36 0.9.19/docs-0.9.19xx/guide/dev_guide.scopes.controlling_scopes.html
  185. +0 −39 0.9.19/docs-0.9.19xx/guide/dev_guide.scopes.html
  186. +0 −66 0.9.19/docs-0.9.19xx/guide/dev_guide.scopes.understanding_scopes.html
  187. +0 −39 0.9.19/docs-0.9.19xx/guide/dev_guide.scopes.updating_scopes.html
  188. +0 −50 0.9.19/docs-0.9.19xx/guide/dev_guide.scopes.working_scopes.html
  189. +0 −58 0.9.19/docs-0.9.19xx/guide/dev_guide.services.creating_services.html
  190. +0 −24 0.9.19/docs-0.9.19xx/guide/dev_guide.services.html
  191. +0 −70 0.9.19/docs-0.9.19xx/guide/dev_guide.services.injecting_controllers.html
  192. +0 −83 0.9.19/docs-0.9.19xx/guide/dev_guide.services.managing_dependencies.html
  193. +0 −65 0.9.19/docs-0.9.19xx/guide/dev_guide.services.registering_services.html
  194. +0 −53 0.9.19/docs-0.9.19xx/guide/dev_guide.services.testing_services.html
  195. +0 −40 0.9.19/docs-0.9.19xx/guide/dev_guide.services.understanding_services.html
  196. +0 −52 0.9.19/docs-0.9.19xx/guide/dev_guide.templates.css.html
  197. +0 −38 0.9.19/docs-0.9.19xx/guide/dev_guide.templates.databinding.html
  198. +0 −62 0.9.19/docs-0.9.19xx/guide/dev_guide.templates.filters.creating_filters.html
  199. +0 −30 0.9.19/docs-0.9.19xx/guide/dev_guide.templates.filters.html
  200. +0 −47 0.9.19/docs-0.9.19xx/guide/dev_guide.templates.filters.using_filters.html
  201. +0 −49 0.9.19/docs-0.9.19xx/guide/dev_guide.templates.formatters.creating_formatters.html
  202. +0 −21 0.9.19/docs-0.9.19xx/guide/dev_guide.templates.formatters.html
  203. +0 −7 0.9.19/docs-0.9.19xx/guide/dev_guide.templates.formatters.using_formatters.html
  204. +0 −61 0.9.19/docs-0.9.19xx/guide/dev_guide.templates.html
  205. +0 −77 0.9.19/docs-0.9.19xx/guide/dev_guide.templates.validators.creating_validators.html
  206. +0 −121 0.9.19/docs-0.9.19xx/guide/dev_guide.templates.validators.html
  207. +0 −242 0.9.19/docs-0.9.19xx/guide/dev_guide.unit-testing.html
  208. +0 −75 0.9.19/docs-0.9.19xx/guide/index.html
  209. BIN 0.9.19/docs-0.9.19xx/img/One_Way_Data_Binding.png
  210. BIN 0.9.19/docs-0.9.19xx/img/Two_Way_Data_Binding.png
  211. BIN 0.9.19/docs-0.9.19xx/img/angular_parts.png
  212. BIN 0.9.19/docs-0.9.19xx/img/bullet.png
  213. BIN 0.9.19/docs-0.9.19xx/img/guide/about_model_final.png
  214. BIN 0.9.19/docs-0.9.19xx/img/guide/about_view_final.png
  215. BIN 0.9.19/docs-0.9.19xx/img/guide/di_sequence_final.png
  216. BIN 0.9.19/docs-0.9.19xx/img/guide/dom_scope_final.png
  217. BIN 0.9.19/docs-0.9.19xx/img/guide/simple_scope_final.png
  218. BIN 0.9.19/docs-0.9.19xx/img/helloworld.png
  219. BIN 0.9.19/docs-0.9.19xx/img/helloworld_2way.png
  220. BIN 0.9.19/docs-0.9.19xx/img/texture_1.png
  221. BIN 0.9.19/docs-0.9.19xx/img/tutorial/catalog_screen.png
  222. BIN 0.9.19/docs-0.9.19xx/img/tutorial/tutorial_00_final.png
  223. BIN 0.9.19/docs-0.9.19xx/img/tutorial/tutorial_02_final.png
  224. BIN 0.9.19/docs-0.9.19xx/img/tutorial/tutorial_03_final.png
  225. BIN 0.9.19/docs-0.9.19xx/img/tutorial/tutorial_04-06_final.png
  226. BIN 0.9.19/docs-0.9.19xx/img/tutorial/tutorial_07_final.png
  227. BIN 0.9.19/docs-0.9.19xx/img/tutorial/tutorial_08-09_final.png
  228. BIN 0.9.19/docs-0.9.19xx/img/tutorial/tutorial_10-11_final.png
  229. BIN 0.9.19/docs-0.9.19xx/img/tutorial/xhr_service_final.png
  230. BIN 0.9.19/docs-0.9.19xx/img/yellow_bkgnd.jpg
  231. +0 −110 0.9.19/docs-0.9.19xx/index-jq.html
  232. +0 −110 0.9.19/docs-0.9.19xx/index.html
  233. +0 −154 0.9.19/docs-0.9.19xx/jquery.min.js
  234. +0 −247 0.9.19/docs-0.9.19xx/misc/contribute.html
  235. +0 −64 0.9.19/docs-0.9.19xx/misc/downloading.html
  236. +0 −79 0.9.19/docs-0.9.19xx/misc/faq.html
  237. +0 −124 0.9.19/docs-0.9.19xx/misc/started.html
  238. +0 −4 0.9.19/docs-0.9.19xx/offline.html
  239. +0 −1 0.9.19/docs-0.9.19xx/robots.txt
  240. +0 −215 0.9.19/docs-0.9.19xx/sitemap.xml
  241. +0 −344 0.9.19/docs-0.9.19xx/syntaxhighlighter/syntaxhighlighter-combined.css
  242. +0 −140 0.9.19/docs-0.9.19xx/syntaxhighlighter/syntaxhighlighter-combined.js
  243. +0 −141 0.9.19/docs-0.9.19xx/tutorial/index.html
  244. +0 −202 0.9.19/docs-0.9.19xx/tutorial/step_00.html
  245. +0 −42 0.9.19/docs-0.9.19xx/tutorial/step_01.html
  246. +0 −173 0.9.19/docs-0.9.19xx/tutorial/step_02.html
  247. +0 −162 0.9.19/docs-0.9.19xx/tutorial/step_03.html
  248. +0 −169 0.9.19/docs-0.9.19xx/tutorial/step_04.html
  249. +0 −185 0.9.19/docs-0.9.19xx/tutorial/step_05.html
  250. +0 −78 0.9.19/docs-0.9.19xx/tutorial/step_06.html
  251. +0 −170 0.9.19/docs-0.9.19xx/tutorial/step_07.html
  252. +0 −152 0.9.19/docs-0.9.19xx/tutorial/step_08.html
  253. +0 −93 0.9.19/docs-0.9.19xx/tutorial/step_09.html
  254. +0 −116 0.9.19/docs-0.9.19xx/tutorial/step_10.html
  255. +0 −175 0.9.19/docs-0.9.19xx/tutorial/step_11.html
  256. +0 −17 0.9.19/docs-0.9.19xx/tutorial/the_end.html
View
11 0.9.19/docs-0.9.19xx/.htaccess
@@ -1,11 +0,0 @@
-## OFFLINE SUPPORT ##
-
-# These rules tell apache to check if there is a cookie called "offline", with value set to the
-# current angular version. If this rule matches the appcache-offline.manifest will be served for
-# requests to appcache.manifest
-#
-# This file must be processed by Rake in order to replace %ANGULAR_VERSION% with the actual version.
-
-RewriteEngine on
-RewriteCond %{HTTP_COOKIE} ng-offline=0.9.19
-RewriteRule appcache.manifest appcache-offline.manifest
View
72 0.9.19/docs-0.9.19xx/api/angular.Array.add.html
@@ -1,72 +0,0 @@
-<h1>angular.Array.add</h1>
-<div class="angular-array-add"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p><code>add</code> is a function similar to JavaScript's <code>Array#push</code> method, in that it appends a new
-element to an array. The difference is that the value being added is optional and defaults to
-an empty object.</p>
-
-<p>Note: this function is used to augment the <code>Array</code> type in angular expressions. See
-<a href="#!/api/angular.Array"><code>angular.Array</code></a> for more info.</p></div>
-<h2>Usage</h2>
-<div class="usage"><div ng:non-bindable=""><pre class="brush: js; html-script: true;">angular.Array.add(array[, value]);</pre>
-</div>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">array – {Array} – </code>
-<p>The array expand.</p></li>
-<li><code ng:non-bindable="">value<i>(optional={})</i> – {*} – </code>
-<p>The value to be added.</p></li>
-</ul>
-<h3>Returns</h3>
-<div class="returns"><code ng:non-bindable="">{Array}</code>
-– <p>The expanded array.</p></div>
-</div>
-<h2>Example</h2>
-<div class="example"><p>This example shows how an initially empty array can be filled with objects created from user
-input via the <code>$add</code> method.</p><doc:example>
- <pre class="doc-source">
- [&lt;a href="" ng:click="people.$add()"&gt;add empty&lt;/a&gt;]
- [&lt;a href="" ng:click="people.$add({name:'John', sex:'male'})"&gt;add 'John'&lt;/a&gt;]
- [&lt;a href="" ng:click="people.$add({name:'Mary', sex:'female'})"&gt;add 'Mary'&lt;/a&gt;]
-
- &lt;ul ng:init="people=[]"&gt;
- &lt;li ng:repeat="person in people"&gt;
- &lt;input name="person.name"&gt;
- &lt;select name="person.sex"&gt;
- &lt;option value=""&gt;--chose one--&lt;/option&gt;
- &lt;option&gt;male&lt;/option&gt;
- &lt;option&gt;female&lt;/option&gt;
- &lt;/select&gt;
- [&lt;a href="" ng:click="people.$remove(person)"&gt;X&lt;/a&gt;]
- &lt;/li&gt;
- &lt;/ul&gt;
- &lt;pre&gt;people = {{people}}&lt;/pre&gt;
- </pre>
- <pre class="doc-scenario">
- beforeEach(function() {
- expect(binding('people')).toBe('people = []');
- });
-
- it('should create an empty record when "add empty" is clicked', function() {
- element('.doc-example-live a:contains("add empty")').click();
- expect(binding('people')).toBe('people = [{\n "name":"",\n "sex":null}]');
- });
-
- it('should create a "John" record when "add \'John\'" is clicked', function() {
- element('.doc-example-live a:contains("add \'John\'")').click();
- expect(binding('people')).toBe('people = [{\n "name":"John",\n "sex":"male"}]');
- });
-
- it('should create a "Mary" record when "add \'Mary\'" is clicked', function() {
- element('.doc-example-live a:contains("add \'Mary\'")').click();
- expect(binding('people')).toBe('people = [{\n "name":"Mary",\n "sex":"female"}]');
- });
-
- it('should delete a record when "X" is clicked', function() {
- element('.doc-example-live a:contains("add empty")').click();
- element('.doc-example-live li a:contains("X"):first').click();
- expect(binding('people')).toBe('people = []');
- });
- </pre>
- </doc:example></div>
-</div>
View
51 0.9.19/docs-0.9.19xx/api/angular.Array.count.html
@@ -1,51 +0,0 @@
-<h1>angular.Array.count</h1>
-<div class="angular-array-count"><h2>Description</h2>
-<div class="description"><p>Determines the number of elements in an array. Optionally it will count only those elements
-for which the <code>condition</code> evaluates to <code>true</code>.</p>
-
-<p>Note: this function is used to augment the <code>Array</code> type in angular expressions. See
-<a href="#!/api/angular.Array"><code>angular.Array</code></a> for more info.</p></div>
-<h2>Usage</h2>
-<div class="usage"><div ng:non-bindable=""><pre class="brush: js; html-script: true;">angular.Array.count(array[, condition]);</pre>
-</div>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">array – {Array} – </code>
-<p>The array to count elements in.</p></li>
-<li><code ng:non-bindable="">condition<i>(optional)</i> – {(function()|string)} – </code>
-<p>A function to be evaluated or angular expression to be
-compiled and evaluated. The element that is currently being iterated over, is exposed to
-the <code>condition</code> as <code>this</code>.</p></li>
-</ul>
-<h3>Returns</h3>
-<div class="returns"><code ng:non-bindable="">{number}</code>
-– <p>Number of elements in the array (for which the condition evaluates to true).</p></div>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- &lt;pre ng:init="items = [{name:'knife', points:1},
- {name:'fork', points:3},
- {name:'spoon', points:1}]"&gt;&lt;/pre&gt;
- &lt;ul&gt;
- &lt;li ng:repeat="item in items"&gt;
- {{item.name}}: points=
- &lt;input type="text" name="item.points"/&gt; &lt;!-- id="item{{$index}} --&gt;
- &lt;/li&gt;
- &lt;/ul&gt;
- &lt;p&gt;Number of items which have one point: &lt;em&gt;{{ items.$count('points==1') }}&lt;/em&gt;&lt;/p&gt;
- &lt;p&gt;Number of items which have more than one point: &lt;em&gt;{{items.$count('points&amp;gt;1')}}&lt;/em&gt;&lt;/p&gt;
-</pre>
-<pre class="doc-scenario">
- it('should calculate counts', function() {
- expect(binding('items.$count(\'points==1\')')).toEqual(2);
- expect(binding('items.$count(\'points&gt;1\')')).toEqual(1);
- });
-
- it('should recalculate when updated', function() {
- using('.doc-example-live li:first-child').input('item.points').enter('23');
- expect(binding('items.$count(\'points==1\')')).toEqual(1);
- expect(binding('items.$count(\'points&gt;1\')')).toEqual(2);
- });
-</pre>
-</doc:example></div>
-</div>
View
82 0.9.19/docs-0.9.19xx/api/angular.Array.filter.html
@@ -1,82 +0,0 @@
-<h1>angular.Array.filter</h1>
-<div class="angular-array-filter"><h2>Description</h2>
-<div class="description"><p>Selects a subset of items from <code>array</code> and returns it as a new array.</p>
-
-<p>Note: this function is used to augment the <code>Array</code> type in angular expressions. See
-<a href="#!/api/angular.Array"><code>angular.Array</code></a> for more info.</p></div>
-<h2>Usage</h2>
-<div class="usage"><div ng:non-bindable=""><pre class="brush: js; html-script: true;">angular.Array.filter(array, expression);</pre>
-</div>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">array – {Array} – </code>
-<p>The source array.</p></li>
-<li><code ng:non-bindable="">expression – {string|Object|function()} – </code>
-<p>The predicate to be used for selecting items from
-<code>array</code>.</p>
-
-<p>Can be one of:</p>
-
-<ul>
-<li><p><code>string</code>: Predicate that results in a substring match using the value of <code>expression</code>
-string. All strings or objects with string properties in <code>array</code> that contain this string
-will be returned. The predicate can be negated by prefixing the string with <code>!</code>.</p></li>
-<li><p><code>Object</code>: A pattern object can be used to filter specific properties on objects contained
-by <code>array</code>. For example <code>{name:"M", phone:"1"}</code> predicate will return an array of items
-which have property <code>name</code> containing "M" and property <code>phone</code> containing "1". A special
-property name <code>$</code> can be used (as in <code>{$:"text"}</code>) to accept a match against any
-property of the object. That's equivalent to the simple substring match with a <code>string</code>
-as described above.</p></li>
-<li><p><code>function</code>: A predicate function can be used to write arbitrary filters. The function is
-called for each element of <code>array</code>. The final result is an array of those elements that
-the predicate returned true for.</p></li>
-</ul></li>
-</ul>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- &lt;div ng:init="friends = [{name:'John', phone:'555-1276'},
- {name:'Mary', phone:'800-BIG-MARY'},
- {name:'Mike', phone:'555-4321'},
- {name:'Adam', phone:'555-5678'},
- {name:'Julie', phone:'555-8765'}]"&gt;&lt;/div&gt;
-
- Search: &lt;input name="searchText"/&gt;
- &lt;table id="searchTextResults"&gt;
- &lt;tr&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Phone&lt;/th&gt;&lt;tr&gt;
- &lt;tr ng:repeat="friend in friends.$filter(searchText)"&gt;
- &lt;td&gt;{{friend.name}}&lt;/td&gt;
- &lt;td&gt;{{friend.phone}}&lt;/td&gt;
- &lt;tr&gt;
- &lt;/table&gt;
- &lt;hr&gt;
- Any: &lt;input name="search.$"/&gt; &lt;br&gt;
- Name only &lt;input name="search.name"/&gt;&lt;br&gt;
- Phone only &lt;input name="search.phone"/&gt;&lt;br&gt;
- &lt;table id="searchObjResults"&gt;
- &lt;tr&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Phone&lt;/th&gt;&lt;tr&gt;
- &lt;tr ng:repeat="friend in friends.$filter(search)"&gt;
- &lt;td&gt;{{friend.name}}&lt;/td&gt;
- &lt;td&gt;{{friend.phone}}&lt;/td&gt;
- &lt;tr&gt;
- &lt;/table&gt;
-</pre>
-<pre class="doc-scenario">
- it('should search across all fields when filtering with a string', function() {
- input('searchText').enter('m');
- expect(repeater('#searchTextResults tr', 'friend in friends').column('name')).
- toEqual(['Mary', 'Mike', 'Adam']);
-
- input('searchText').enter('76');
- expect(repeater('#searchTextResults tr', 'friend in friends').column('name')).
- toEqual(['John', 'Julie']);
- });
-
- it('should search in specific fields when filtering with a predicate object', function() {
- input('search.$').enter('i');
- expect(repeater('#searchObjResults tr', 'friend in friends').column('name')).
- toEqual(['Mary', 'Mike', 'Julie']);
- });
-</pre>
-</doc:example></div>
-</div>
View
30 0.9.19/docs-0.9.19xx/api/angular.Array.html
@@ -1,30 +0,0 @@
-<h1>angular.Array</h1>
-<div class="angular-array"><p>A namespace for utility functions for the manipulation of JavaScript Array objects.</p>
-
-<p>These functions are exposed in two ways:</p>
-
-<ul>
-<li><p><strong>Angular expressions:</strong> Functions are bound to the Array objects and augment the Array type as
-array methods. The names of these methods are prefixed with $ character to minimize naming
-collisions. To call a method, invoke myArrayObject.$foo(params).</p>
-
-<p>Because Array type is a subtype of the Object type, all angular.Object functions augment
-theArray type in angular expressions as well.</p></li>
-<li><p><strong>JavaScript code:</strong> Functions don't augment the Array type and must be invoked as functions of
-<code>angular.Array</code> as <code>angular.Array.foo(myArrayObject, params)</code>.</p></li>
-</ul>
-
-<p>The following APIs are built-in to the angular Array object:</p>
-
-<ul>
-<li><a href="#!/api/angular.Array.add"><code>angular.Array.add()</code></a> - Optionally adds a new element to an array.</li>
-<li><a href="#!/api/angular.Array.count"><code>angular.Array.count()</code></a> - Determines the number of elements in an
-array.</li>
-<li><a href="#!/api/angular.Array.filter"><code>angular.Array.filter()</code></a> - Returns a subset of items as a new array.</li>
-<li><a href="#!/api/angular.Array.indexOf"><code>angular.Array.indexOf()</code></a> - Determines the index of an array value.</li>
-<li><a href="#!/api/angular.Array.limitTo"><code>angular.Array.limitTo()</code></a> - Creates a new array off the front or
-back of an existing array.</li>
-<li><a href="#!/api/angular.Array.orderBy"><code>angular.Array.orderBy()</code></a> - Orders array elements</li>
-<li><a href="#!/api/angular.Array.remove"><code>angular.Array.remove()</code></a> - Removes array elements</li>
-<li><a href="#!/api/angular.Array.sum"><code>angular.Array.sum()</code></a> - Sums the number elements in an array</li>
-</ul></div>
View
41 0.9.19/docs-0.9.19xx/api/angular.Array.indexOf.html
@@ -1,41 +0,0 @@
-<h1>angular.Array.indexOf</h1>
-<div class="angular-array-indexof"><h2>Description</h2>
-<div class="description"><p>Determines the index of <code>value</code> in <code>array</code>.</p>
-
-<p>Note: this function is used to augment the <code>Array</code> type in angular expressions. See
-<a href="#!/api/angular.Array"><code>angular.Array</code></a> for more info.</p></div>
-<h2>Usage</h2>
-<div class="usage"><div ng:non-bindable=""><pre class="brush: js; html-script: true;">angular.Array.indexOf(array, value);</pre>
-</div>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">array – {Array} – </code>
-<p>Array to search.</p></li>
-<li><code ng:non-bindable="">value – {*} – </code>
-<p>Value to search for.</p></li>
-</ul>
-<h3>Returns</h3>
-<div class="returns"><code ng:non-bindable="">{number}</code>
-– <p>The position of the element in <code>array</code>. The position is 0-based. <code>-1</code> is returned if the value can't be found.</p></div>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- &lt;div ng:init="books = ['Moby Dick', 'Great Gatsby', 'Romeo and Juliet']"&gt;&lt;/div&gt;
- &lt;input name='bookName' value='Romeo and Juliet'&gt; &lt;br&gt;
- Index of '{{bookName}}' in the list {{books}} is &lt;em&gt;{{books.$indexOf(bookName)}}&lt;/em&gt;.
-</pre>
-<pre class="doc-scenario">
- it('should correctly calculate the initial index', function() {
- expect(binding('books.$indexOf(bookName)')).toBe('2');
- });
-
- it('should recalculate', function() {
- input('bookName').enter('foo');
- expect(binding('books.$indexOf(bookName)')).toBe('-1');
-
- input('bookName').enter('Moby Dick');
- expect(binding('books.$indexOf(bookName)')).toBe('0');
- });
-</pre>
-</doc:example></div>
-</div>
View
43 0.9.19/docs-0.9.19xx/api/angular.Array.limitTo.html
@@ -1,43 +0,0 @@
-<h1>angular.Array.limitTo</h1>
-<div class="angular-array-limitto"><h2>Description</h2>
-<div class="description"><p>Creates a new array containing only the first, or last <code>limit</code> number of elements of the
-source <code>array</code>.</p>
-
-<p>Note: this function is used to augment the <code>Array</code> type in angular expressions. See
-<a href="#!/api/angular.Array"><code>angular.Array</code></a> for more info.</p></div>
-<h2>Usage</h2>
-<div class="usage"><div ng:non-bindable=""><pre class="brush: js; html-script: true;">angular.Array.limitTo(array, limit);</pre>
-</div>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">array – {Array} – </code>
-<p>Source array to be limited.</p></li>
-<li><code ng:non-bindable="">limit – {string|Number} – </code>
-<p>The length of the returned array. If the number is positive, the
-first <code>limit</code> items from the source array will be copied, if the number is negative, the
-last <code>limit</code> items will be copied.</p></li>
-</ul>
-<h3>Returns</h3>
-<div class="returns"><code ng:non-bindable="">{Array}</code>
-– <p>A new sub-array of length <code>limit</code>.</p></div>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- &lt;div ng:init="numbers = [1,2,3,4,5,6,7,8,9]"&gt;
- Limit [1,2,3,4,5,6,7,8,9] to: &lt;input name="limit" value="3"/&gt;
- &lt;p&gt;Output: {{ numbers.$limitTo(limit) | json }}&lt;/p&gt;
- &lt;/div&gt;
-</pre>
-<pre class="doc-scenario">
- it('should limit the numer array to first three items', function() {
- expect(element('.doc-example-live input[name=limit]').val()).toBe('3');
- expect(binding('numbers.$limitTo(limit) | json')).toEqual('[1,2,3]');
- });
-
- it('should update the output when -3 is entered', function() {
- input('limit').enter(-3);
- expect(binding('numbers.$limitTo(limit) | json')).toEqual('[7,8,9]');
- });
-</pre>
-</doc:example></div>
-</div>
View
85 0.9.19/docs-0.9.19xx/api/angular.Array.orderBy.html
@@ -1,85 +0,0 @@
-<h1>angular.Array.orderBy</h1>
-<div class="angular-array-orderby"><h2>Description</h2>
-<div class="description"><p>Orders <code>array</code> by the <code>expression</code> predicate.</p>
-
-<p>Note: this function is used to augment the <code>Array</code> type in angular expressions. See
-<a href="#!/api/angular.Array"><code>angular.Array</code></a> for more info.</p></div>
-<h2>Usage</h2>
-<div class="usage"><div ng:non-bindable=""><pre class="brush: js; html-script: true;">angular.Array.orderBy(array, expression[, reverse]);</pre>
-</div>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">array – {Array} – </code>
-<p>The array to sort.</p></li>
-<li><code ng:non-bindable="">expression – {function(*)|string|Array.&lt;(function(*)|string)&gt;} – </code>
-<p>A predicate to be
-used by the comparator to determine the order of elements.</p>
-
-<p>Can be one of:</p>
-
-<ul>
-<li><code>function</code>: getter function. The result of this function will be sorted using the
-<code>&lt;</code>, <code>=</code>, <code>&gt;</code> operator</li>
-<li><code>string</code>: angular expression which evaluates to an object to order by, such as 'name' to
-sort by a property called 'name'. Optionally prefixed with <code>+</code> or <code>-</code> to control ascending
-or descending sort order (e.g. +name or -name).</li>
-<li><code>Array</code>: array of function or string predicates, such that a first predicate in the array
-is used for sorting, but when the items are equivalent next predicate is used.</li>
-</ul></li>
-<li><code ng:non-bindable="">reverse<i>(optional)</i> – {boolean} – </code>
-<p>Reverse the order the array.</p></li>
-</ul>
-<h3>Returns</h3>
-<div class="returns"><code ng:non-bindable="">{Array}</code>
-– <p>Sorted copy of the source array.</p></div>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- &lt;div ng:init="friends = [{name:'John', phone:'555-1212', age:10},
- {name:'Mary', phone:'555-9876', age:19},
- {name:'Mike', phone:'555-4321', age:21},
- {name:'Adam', phone:'555-5678', age:35},
- {name:'Julie', phone:'555-8765', age:29}]"&gt;&lt;/div&gt;
-
- &lt;pre&gt;Sorting predicate = {{predicate}}; reverse = {{reverse}}&lt;/pre&gt;
- &lt;hr/&gt;
- [ &lt;a href="" ng:click="predicate=''"&gt;unsorted&lt;/a&gt; ]
- &lt;table ng:init="predicate='-age'"&gt;
- &lt;tr&gt;
- &lt;th&gt;&lt;a href="" ng:click="predicate = 'name'; reverse=false"&gt;Name&lt;/a&gt;
- (&lt;a href ng:click="predicate = '-name'; reverse=false"&gt;^&lt;/a&gt;)&lt;/th&gt;
- &lt;th&gt;&lt;a href="" ng:click="predicate = 'phone'; reverse=!reverse"&gt;Phone Number&lt;/a&gt;&lt;/th&gt;
- &lt;th&gt;&lt;a href="" ng:click="predicate = 'age'; reverse=!reverse"&gt;Age&lt;/a&gt;&lt;/th&gt;
- &lt;tr&gt;
- &lt;tr ng:repeat="friend in friends.$orderBy(predicate, reverse)"&gt;
- &lt;td&gt;{{friend.name}}&lt;/td&gt;
- &lt;td&gt;{{friend.phone}}&lt;/td&gt;
- &lt;td&gt;{{friend.age}}&lt;/td&gt;
- &lt;tr&gt;
- &lt;/table&gt;
-</pre>
-<pre class="doc-scenario">
- it('should be reverse ordered by aged', function() {
- expect(binding('predicate')).toBe('Sorting predicate = -age; reverse = ');
- expect(repeater('.doc-example-live table', 'friend in friends').column('friend.age')).
- toEqual(['35', '29', '21', '19', '10']);
- expect(repeater('.doc-example-live table', 'friend in friends').column('friend.name')).
- toEqual(['Adam', 'Julie', 'Mike', 'Mary', 'John']);
- });
-
- it('should reorder the table when user selects different predicate', function() {
- element('.doc-example-live a:contains("Name")').click();
- expect(repeater('.doc-example-live table', 'friend in friends').column('friend.name')).
- toEqual(['Adam', 'John', 'Julie', 'Mary', 'Mike']);
- expect(repeater('.doc-example-live table', 'friend in friends').column('friend.age')).
- toEqual(['35', '10', '29', '19', '21']);
-
- element('.doc-example-live a:contains("Phone")').click();
- expect(repeater('.doc-example-live table', 'friend in friends').column('friend.phone')).
- toEqual(['555-9876', '555-8765', '555-5678', '555-4321', '555-1212']);
- expect(repeater('.doc-example-live table', 'friend in friends').column('friend.name')).
- toEqual(['Mary', 'Julie', 'Adam', 'Mike', 'John']);
- });
-</pre>
-</doc:example></div>
-</div>
View
54 0.9.19/docs-0.9.19xx/api/angular.Array.remove.html
@@ -1,54 +0,0 @@
-<h1>angular.Array.remove</h1>
-<div class="angular-array-remove"><h2>Description</h2>
-<div class="description"><p>Modifies <code>array</code> by removing an element from it. The element will be looked up using the
-<a href="#!/api/angular.Array.indexOf"><code>indexOf</code></a> function on the <code>array</code> and only the first instance of
-the element will be removed.</p>
-
-<p>Note: this function is used to augment the <code>Array</code> type in angular expressions. See
-<a href="#!/api/angular.Array"><code>angular.Array</code></a> for more info.</p></div>
-<h2>Usage</h2>
-<div class="usage"><div ng:non-bindable=""><pre class="brush: js; html-script: true;">angular.Array.remove(array, value);</pre>
-</div>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">array – {Array} – </code>
-<p>Array from which an element should be removed.</p></li>
-<li><code ng:non-bindable="">value – {*} – </code>
-<p>Element to be removed.</p></li>
-</ul>
-<h3>Returns</h3>
-<div class="returns"><code ng:non-bindable="">{*}</code>
-– <p>The removed element.</p></div>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- &lt;ul ng:init="tasks=['Learn Angular', 'Read Documentation',
- 'Check out demos', 'Build cool applications']"&gt;
- &lt;li ng:repeat="task in tasks"&gt;
- {{task}} [&lt;a href="" ng:click="tasks.$remove(task)"&gt;X&lt;/a&gt;]
- &lt;/li&gt;
- &lt;/ul&gt;
- &lt;hr/&gt;
- tasks = {{tasks}}
-</pre>
-<pre class="doc-scenario">
- it('should initialize the task list with for tasks', function() {
- expect(repeater('.doc-example-live ul li', 'task in tasks').count()).toBe(4);
- expect(repeater('.doc-example-live ul li', 'task in tasks').column('task')).
- toEqual(['Learn Angular', 'Read Documentation', 'Check out demos',
- 'Build cool applications']);
- });
-
- it('should initialize the task list with for tasks', function() {
- element('.doc-example-live ul li a:contains("X"):first').click();
- expect(repeater('.doc-example-live ul li', 'task in tasks').count()).toBe(3);
-
- element('.doc-example-live ul li a:contains("X"):last').click();
- expect(repeater('.doc-example-live ul li', 'task in tasks').count()).toBe(2);
-
- expect(repeater('.doc-example-live ul li', 'task in tasks').column('task')).
- toEqual(['Read Documentation', 'Check out demos']);
- });
-</pre>
-</doc:example></div>
-</div>
View
63 0.9.19/docs-0.9.19xx/api/angular.Array.sum.html
@@ -1,63 +0,0 @@
-<h1>angular.Array.sum</h1>
-<div class="angular-array-sum"><h2>Description</h2>
-<div class="description"><p>This function calculates the sum of all numbers in <code>array</code>. If the <code>expressions</code> is supplied,
-it is evaluated once for each element in <code>array</code> and then the sum of these values is returned.</p>
-
-<p>Note: this function is used to augment the <code>Array</code> type in angular expressions. See
-<a href="#!/api/angular.Array"><code>angular.Array</code></a> for more info.</p></div>
-<h2>Usage</h2>
-<div class="usage"><div ng:non-bindable=""><pre class="brush: js; html-script: true;">angular.Array.sum(array[, expression]);</pre>
-</div>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">array – {Array} – </code>
-<p>The source array.</p></li>
-<li><code ng:non-bindable="">expression<i>(optional)</i> – {(string|function())} – </code>
-<p>Angular expression or a function to be evaluated for each
-element in <code>array</code>. The array element becomes the <code>this</code> during the evaluation.</p></li>
-</ul>
-<h3>Returns</h3>
-<div class="returns"><code ng:non-bindable="">{number}</code>
-– <p>Sum of items in the array.</p></div>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- &lt;table ng:init="invoice= {items:[{qty:10, description:'gadget', cost:9.95}]}"&gt;
- &lt;tr&gt;&lt;th&gt;Qty&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Cost&lt;/th&gt;&lt;th&gt;Total&lt;/th&gt;&lt;th&gt;&lt;/th&gt;&lt;/tr&gt;
- &lt;tr ng:repeat="item in invoice.items"&gt;
- &lt;td&gt;&lt;input name="item.qty" value="1" size="4" ng:required ng:validate="integer"&gt;&lt;/td&gt;
- &lt;td&gt;&lt;input name="item.description"&gt;&lt;/td&gt;
- &lt;td&gt;&lt;input name="item.cost" value="0.00" ng:required ng:validate="number" size="6"&gt;&lt;/td&gt;
- &lt;td&gt;{{item.qty * item.cost | currency}}&lt;/td&gt;
- &lt;td&gt;[&lt;a href ng:click="invoice.items.$remove(item)"&gt;X&lt;/a&gt;]&lt;/td&gt;
- &lt;/tr&gt;
- &lt;tr&gt;
- &lt;td&gt;&lt;a href ng:click="invoice.items.$add()"&gt;add item&lt;/a&gt;&lt;/td&gt;
- &lt;td&gt;&lt;/td&gt;
- &lt;td&gt;Total:&lt;/td&gt;
- &lt;td&gt;{{invoice.items.$sum('qty*cost') | currency}}&lt;/td&gt;
- &lt;/tr&gt;
- &lt;/table&gt;
-</pre>
-<pre class="doc-scenario">
- //TODO: these specs are lame because I had to work around issues #164 and #167
- it('should initialize and calculate the totals', function() {
- expect(repeater('.doc-example-live table tr', 'item in invoice.items').count()).toBe(3);
- expect(repeater('.doc-example-live table tr', 'item in invoice.items').row(1)).
- toEqual(['$99.50']);
- expect(binding("invoice.items.$sum('qty*cost')")).toBe('$99.50');
- expect(binding("invoice.items.$sum('qty*cost')")).toBe('$99.50');
- });
-
- it('should add an entry and recalculate', function() {
- element('.doc-example-live a:contains("add item")').click();
- using('.doc-example-live tr:nth-child(3)').input('item.qty').enter('20');
- using('.doc-example-live tr:nth-child(3)').input('item.cost').enter('100');
-
- expect(repeater('.doc-example-live table tr', 'item in invoice.items').row(2)).
- toEqual(['$2,000.00']);
- expect(binding("invoice.items.$sum('qty*cost')")).toBe('$2,099.50');
- });
-</pre>
-</doc:example></div>
-</div>
View
56 0.9.19/docs-0.9.19xx/api/angular.Object.copy.html
@@ -1,56 +0,0 @@
-<h1>angular.Object.copy</h1>
-<div class="angular-object-copy"><h2>Description</h2>
-<div class="description"><p>Creates a deep copy of <code>source</code>.</p>
-
-<p>If <code>source</code> is an object or an array, all of its members will be copied into the <code>destination</code>
-object.</p>
-
-<p>If <code>destination</code> is not provided and <code>source</code> is an object or an array, a copy is created &amp;
-returned, otherwise the <code>source</code> is returned.</p>
-
-<p>If <code>destination</code> is provided, all of its properties will be deleted.</p>
-
-<p>Note: this function is used to augment the Object type in angular expressions. See
-<a href="#!/api/angular.Object"><code>angular.Object</code></a> for more info.</p></div>
-<h2>Usage</h2>
-<div class="usage"><div ng:non-bindable=""><pre class="brush: js; html-script: true;">angular.Object.copy(source[, destination]);</pre>
-</div>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">source – {*} – </code>
-<p>The source to be used to make a copy.
-Can be any type including primitives, <code>null</code> and <code>undefined</code>.</p></li>
-<li><code ng:non-bindable="">destination<i>(optional)</i> – {(Object|Array)} – </code>
-<p>Optional destination into which the source is copied. If
-provided, must be of the same type as <code>source</code>.</p></li>
-</ul>
-<h3>Returns</h3>
-<div class="returns"><code ng:non-bindable="">{*}</code>
-– <p>The copy or updated <code>destination</code> if <code>destination</code> was specified.</p></div>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- Salutation: &lt;input type="text" name="master.salutation" value="Hello" /&gt;&lt;br/&gt;
- Name: &lt;input type="text" name="master.name" value="world"/&gt;&lt;br/&gt;
- &lt;button ng:click="form = master.$copy()"&gt;copy&lt;/button&gt;
- &lt;hr/&gt;
-
- The master object is &lt;span ng:hide="master.$equals(form)"&gt;NOT&lt;/span&gt; equal to the form object.
-
- &lt;pre&gt;master={{master}}&lt;/pre&gt;
- &lt;pre&gt;form={{form}}&lt;/pre&gt;
-</pre>
-<pre class="doc-scenario">
- it('should print that initialy the form object is NOT equal to master', function() {
- expect(element('.doc-example-live input[name=master.salutation]').val()).toBe('Hello');
- expect(element('.doc-example-live input[name=master.name]').val()).toBe('world');
- expect(element('.doc-example-live span').css('display')).toBe('inline');
- });
-
- it('should make form and master equal when the copy button is clicked', function() {
- element('.doc-example-live button').click();
- expect(element('.doc-example-live span').css('display')).toBe('none');
- });
-</pre>
-</doc:example></div>
-</div>
View
52 0.9.19/docs-0.9.19xx/api/angular.Object.equals.html
@@ -1,52 +0,0 @@
-<h1>angular.Object.equals</h1>
-<div class="angular-object-equals"><h2>Description</h2>
-<div class="description"><p>Determines if two objects or value are equivalent.</p>
-
-<p>To be equivalent, they must pass <code>==</code> comparison or be of the same type and have all their
-properties pass <code>==</code> comparison. During property comparision properties of <code>function</code> type and
-properties with name starting with <code>$</code> are ignored.</p>
-
-<p>Supports values types, arrays and objects.</p>
-
-<p>Note: this function is used to augment the Object type in angular expressions. See
-<a href="#!/api/angular.Object"><code>angular.Object</code></a> for more info.</p></div>
-<h2>Usage</h2>
-<div class="usage"><div ng:non-bindable=""><pre class="brush: js; html-script: true;">angular.Object.equals(o1, o2);</pre>
-</div>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">o1 – {*} – </code>
-<p>Object or value to compare.</p></li>
-<li><code ng:non-bindable="">o2 – {*} – </code>
-<p>Object or value to compare.</p></li>
-</ul>
-<h3>Returns</h3>
-<div class="returns"><code ng:non-bindable="">{boolean}</code>
-– <p>True if arguments are equal.</p></div>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- Salutation: &lt;input type="text" name="greeting.salutation" value="Hello" /&gt;&lt;br/&gt;
- Name: &lt;input type="text" name="greeting.name" value="world"/&gt;&lt;br/&gt;
- &lt;hr/&gt;
-
- The &lt;code&gt;greeting&lt;/code&gt; object is
- &lt;span ng:hide="greeting.$equals({salutation:'Hello', name:'world'})"&gt;NOT&lt;/span&gt; equal to
- &lt;code&gt;{salutation:'Hello', name:'world'}&lt;/code&gt;.
-
- &lt;pre&gt;greeting={{greeting}}&lt;/pre&gt;
-</pre>
-<pre class="doc-scenario">
- it('should print that initialy greeting is equal to the hardcoded value object', function() {
- expect(element('.doc-example-live input[name=greeting.salutation]').val()).toBe('Hello');
- expect(element('.doc-example-live input[name=greeting.name]').val()).toBe('world');
- expect(element('.doc-example-live span').css('display')).toBe('none');
- });
-
- it('should say that the objects are not equal when the form is modified', function() {
- input('greeting.name').enter('kitty');
- expect(element('.doc-example-live span').css('display')).toBe('inline');
- });
-</pre>
-</doc:example></div>
-</div>
View
18 0.9.19/docs-0.9.19xx/api/angular.Object.html
@@ -1,18 +0,0 @@
-<h1>angular.Object</h1>
-<div class="angular-object"><p>A namespace for utility functions used to work with JavaScript objects. These functions are
-exposed in two ways:</p>
-
-<p><strong>* Angular expressions:</strong> Functions are bound to all objects and augment the Object type. The
-names of these methods are prefixed with the '$' character in order to minimize naming collisions.
-To call a method, invoke the function without the first argument, e.g, <code>myObject.$foo(param2)</code>.</p>
-
-<p><strong>* JavaScript code:</strong> Functions don't augment the Object type and must be invoked as functions of
-<code>angular.Object</code> as <code>angular.Object.foo(myObject, param2)</code>.</p>
-
-<ul>
-<li><a href="#!/api/angular.Object.copy"><code>angular.Object.copy()</code></a> - Creates a deep copy of the source parameter</li>
-<li><a href="#!/api/angular.Object.equals"><code>angular.Object.equals()</code></a> - Determines if two objects or values are
-equivalent</li>
-<li><a href="#!/api/angular.Object.size"><code>angular.Object.size()</code></a> - Determines the number of elements in
-strings, arrays, and objects.</li>
-</ul></div>
View
34 0.9.19/docs-0.9.19xx/api/angular.Object.size.html
@@ -1,34 +0,0 @@
-<h1>angular.Object.size</h1>
-<div class="angular-object-size"><h2>Description</h2>
-<div class="description"><p>Determines the number of elements in an array, number of properties of an object or string
-length.</p>
-
-<p>Note: this function is used to augment the Object type in angular expressions. See
-<a href="#!/api/angular.Object"><code>angular.Object</code></a> for more info.</p></div>
-<h2>Usage</h2>
-<div class="usage"><div ng:non-bindable=""><pre class="brush: js; html-script: true;">angular.Object.size(obj, ownPropsOnly);</pre>
-</div>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">obj – {Object|Array|string} – </code>
-<p>Object, array or string to inspect.</p></li>
-<li><code ng:non-bindable="">ownPropsOnly – {boolean} – </code>
-<p>Count only "own" properties in an object</p></li>
-</ul>
-<h3>Returns</h3>
-<div class="returns"><code ng:non-bindable="">{number}</code>
-– <p>The size of <code>obj</code> or <code>0</code> if <code>obj</code> is neither an object or an array.</p></div>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- Number of items in array: {{ [1,2].$size() }}&lt;br/&gt;
- Number of items in object: {{ {a:1, b:2, c:3}.$size() }}&lt;br/&gt;
-</pre>
-<pre class="doc-scenario">
- it('should print correct sizes for an array and an object', function() {
- expect(binding('[1,2].$size()')).toBe('2');
- expect(binding('{a:1, b:2, c:3}.$size()')).toBe('3');
- });
-</pre>
-</doc:example></div>
-</div>
View
12 0.9.19/docs-0.9.19xx/api/angular.attrMarkup.html
@@ -1,12 +0,0 @@
-<h1>angular.attrMarkup</h1>
-<div class="angular-attrmarkup"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<p>Attribute markup extends the angular compiler in a very similar way as <a href="#!/api/angular.markup"><code>angular.markup</code></a>
-except that it allows you to modify the state of the attribute text rather than the content of a
-node.</p>
-
-<p>Create custom attribute markup like this:</p><div ng:non-bindable><pre class="brush: js;">
- angular.attrMarkup('newAttrMarkup', function(attrValue, attrName, element){
- //tranformation code
- });
-</pre></div><p>For more information about angular attribute markup, see <a href="#!/guide/dev_guide.compiler.markup">Understanding Angular Markup</a> in the angular Developer Guide.</p></div>
View
23 0.9.19/docs-0.9.19xx/api/angular.bind.html
@@ -1,23 +0,0 @@
-<h1>angular.bind</h1>
-<div class="angular-bind"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>Returns a function which calls function <code>fn</code> bound to <code>self</code> (<code>self</code> becomes the <code>this</code> for <code>fn</code>).
-Optional <code>args</code> can be supplied which are prebound to the function, also known as
-<a href="http://en.wikipedia.org/wiki/Currying">function currying</a>.</p></div>
-<h2>Usage</h2>
-<div class="usage"><div ng:non-bindable=""><pre class="brush: js; html-script: true;">angular.bind(self, fn, args);</pre>
-</div>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">self – {Object} – </code>
-<p>Context which <code>fn</code> should be evaluated in.</p></li>
-<li><code ng:non-bindable="">fn – {function()} – </code>
-<p>Function to be bound.</p></li>
-<li><code ng:non-bindable="">args – {...*} – </code>
-<p>Optional arguments to be prebound to the <code>fn</code> function call.</p></li>
-</ul>
-<h3>Returns</h3>
-<div class="returns"><code ng:non-bindable="">{function()}</code>
-– <p>Function that wraps the <code>fn</code> with all the specified bindings.</p></div>
-</div>
-</div>
View
103 0.9.19/docs-0.9.19xx/api/angular.compile.html
@@ -1,103 +0,0 @@
-<h1>angular.compile</h1>
-<div class="angular-compile"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>Compiles a piece of HTML string or DOM into a template and produces a template function, which
-can then be used to link <a href="#!/api/angular.scope"><code>scope</code></a> and the template together.</p>
-
-<p>The compilation is a process of walking the DOM tree and trying to match DOM elements to
-<a href="#!/api/angular.markup"><code>markup</code></a>, <a href="#!/api/angular.attrMarkup"><code>attrMarkup</code></a>,
-<a href="#!/api/angular.widget"><code>widgets</code></a>, and <a href="#!/api/angular.directive"><code>directives</code></a>. For each match it
-executes corresponding markup, attrMarkup, widget or directive template function and collects the
-instance functions into a single template function which is then returned.</p>
-
-<p>The template function can then be used once to produce the view or as it is the case with
-<a href="#!/api/angular.widget.@ng:repeat"><code>repeater</code></a> many-times, in which case each call results in a view
-that is a DOM clone of the original template.</p><div ng:non-bindable><pre class="brush: js; html-script: true;">
- // compile the entire window.document and give me the scope bound to this template.
- var rootScope = angular.compile(window.document)();
-
- // compile a piece of html
- var rootScope2 = angular.compile('&lt;div ng:click="clicked = true"&gt;click me&lt;/div&gt;')();
-
- // compile a piece of html and retain reference to both the dom and scope
- var template = angular.element('&lt;div ng:click="clicked = true"&gt;click me&lt;/div&gt;'),
- scope = angular.compile(template)();
- // at this point template was transformed into a view
- </pre></div></div>
-<h2>Usage</h2>
-<div class="usage"><div ng:non-bindable=""><pre class="brush: js; html-script: true;">angular.compile(element);</pre>
-</div>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">element – {string|DOMElement} – </code>
-<p>Element or HTML to compile into a template function.</p></li>
-</ul>
-<h3>Returns</h3>
-<div class="returns"><code ng:non-bindable="">{function([scope][, cloneAttachFn])}</code>
-– <p>a template function which is used to bind template
-(a DOM element/tree) to a scope. Where:</p>
-
-<ul>
-<li><code>scope</code> - A <a href="#!/api/angular.scope"><code>Scope</code></a> to bind to. If none specified, then a new
- root scope is created.</li>
-<li><p><code>cloneAttachFn</code> - If <code>cloneAttachFn</code> is provided, then the link function will clone the
- <code>template</code> and call the <code>cloneAttachFn</code> function allowing the caller to attach the
- cloned elements to the DOM document at the appropriate place. The <code>cloneAttachFn</code> is
- called as: <br/> <code>cloneAttachFn(clonedElement, scope)</code> where:</p>
-
-<ul><li><code>clonedElement</code> - is a clone of the original <code>element</code> passed into the compiler.</li>
-<li><code>scope</code> - is the current scope with which the linking function is working with.</li></ul></li>
-</ul>
-
-<p>Calling the template function returns the scope to which the element is bound to. It is either
-the same scope as the one passed into the template function, or if none were provided it's the
-newly create scope.</p>
-
-<p>If you need access to the bound view, there are two ways to do it:</p>
-
-<ul>
-<li>If you are not asking the linking function to clone the template, create the DOM element(s)
-before you send them to the compiler and keep this reference around.</li>
-</ul><div ng:non-bindable><pre class="brush: js; html-script: true;">
- var view = angular.element('&lt;p&gt;{{total}}&lt;/p&gt;'),
- scope = angular.compile(view)();
- </pre></div><ul>
-<li>if on the other hand, you need the element to be cloned, the view reference from the original
-example would not point to the clone, but rather to the original template that was cloned. In
-this case, you can access the clone via the cloneAttachFn:</li>
-</ul><div ng:non-bindable><pre class="brush: js; html-script: true;">
- var original = angular.element('&lt;p&gt;{{total}}&lt;/p&gt;'),
- scope = someParentScope.$new(),
- clone;
-
- angular.compile(original)(scope, function(clonedElement, scope) {
- clone = clonedElement;
- //attach the clone to DOM document at the right place
- });
-
- //now we have reference to the cloned DOM via `clone`
- </pre></div><p>Compiler Methods For Widgets and Directives:</p>
-
-<p>The following methods are available for use when you write your own widgets, directives,
-and markup. (Recall that the compile function's this is a reference to the compiler.)</p>
-
-<p><code>compile(element)</code> - returns linker -
- Invoke a new instance of the compiler to compile a DOM element and return a linker function.
- You can apply the linker function to the original element or a clone of the original element.
- The linker function returns a scope.</p>
-
-<ul>
-<li><p><code>comment(commentText)</code> - returns element - Create a comment element.</p></li>
-<li><p><code>element(elementName)</code> - returns element - Create an element by name.</p></li>
-<li><p><code>text(text)</code> - returns element - Create a text element.</p></li>
-<li><p><code>descend([set])</code> - returns descend state (true or false). Get or set the current descend
-state. If true the compiler will descend to children elements.</p></li>
-<li><p><code>directives([set])</code> - returns directive state (true or false). Get or set the current
-directives processing state. The compiler will process directives only when directives set to
-true.</p></li>
-</ul>
-
-<p>For information on how the compiler works, see the
-<a href="#!/guide/dev_guide.compiler">Angular HTML Compiler</a> section of the Developer Guide.</p></div>
-</div>
-</div>
View
40 0.9.19/docs-0.9.19xx/api/angular.directive.html
@@ -1,40 +0,0 @@
-<h1>angular.directive</h1>
-<div class="angular-directive"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<p>Custom attributes for DOM elements. Directives modify the behavior of the element they are
-specified in, but are not intended to add elements to the DOM as are
-<a href="#!/api/angular.widget"><code>widgets</code></a>.</p>
-
-<p>Following is the list of built-in angular directives:</p>
-
-<ul>
-<li><a href="#!/api/angular.directive.ng:bind"><code>ng:bind</code></a> - Creates a data-binding between HTML text value and
-data model.</li>
-<li><a href="#!/api/angular.directive.ng:bind-attr"><code>ng:bind-attr</code></a> - Creates a data-binding as in <code>ng:bind</code>,
-but uses JSON key / value pairs.</li>
-<li><a href="#!/api/angular.directive.ng:bind-template"><code>ng:bind-template</code></a> - Replaces text value of an element
-with a specified template.</li>
-<li><a href="#!/api/angular.directive.ng:change"><code>ng:change</code></a> - Executes an expression when the value of an
-input widget changes.</li>
-<li><a href="#!/api/angular.directive.ng:class"><code>ng:class</code></a> - Conditionally set CSS class on an element.</li>
-<li><a href="#!/api/angular.directive.ng:class-even"><code>ng:class-even</code></a> - Like <code>ng:class</code>, but works in
-conjunction with <a href="#!/api/angular.widget.@ng:repeat"><code>angular.widget.@ng:repeat</code></a> to affect even rows in a collection.</li>
-<li><a href="#!/api/angular.directive.ng:class-odd"><code>ng:class-odd</code></a> - Like <code>ng:class</code>, but works with <a href="#!/api/angular.widget.@ng:repeat"><code>angular.widget.@ng:repeat</code></a> to affect odd rows.</li>
-<li><a href="#!/api/angular.directive.ng:click"><code>ng:click</code></a> - Executes custom behavior when element is clicked.</li>
-<li><a href="#!/api/angular.directive.ng:controller"><code>ng:controller</code></a> - Creates a scope object linked to the
-DOM element and assigns behavior to the scope.</li>
-<li><a href="#!/api/angular.directive.ng:eval"><code>ng:eval</code></a> - Executes a binding but blocks output.</li>
-<li><a href="#!/api/angular.directive.ng:eval-order"><code>ng:eval-order</code></a> - Change evaluation order when updating
-the view.</li>
-<li><a href="#!/api/angular.directive.ng:hide"><code>ng:hide</code></a> - Conditionally hides a portion of HTML.</li>
-<li><a href="#!/api/angular.directive.ng:href"><code>ng:href</code></a> - Places an href in the angular namespace.</li>
-<li><a href="#!/api/angular.directive.ng:init"><code>angular.directive.ng:init</code></a> - Initialization tasks run before a template is executed.</li>
-<li><a href="#!/api/angular.directive.ng:show"><code>ng:show</code></a> - Conditionally displays a portion of HTML.</li>
-<li><a href="#!/api/angular.directive.ng:src"><code>ng:src</code></a> - Places a <code>src</code> attribute into the angular namespace.</li>
-<li><a href="#!/api/angular.directive.ng:style"><code>ng:style</code></a> - Conditionally set CSS styles on an element.</li>
-<li><a href="#!/api/angular.directive.ng:submit"><code>angular.directive.ng:submit</code></a> - Binds angular expressions to <code>onSubmit</code> events.</li>
-</ul>
-
-<p>For more information about how angular directives work, and how to create your own directives,
-see <a href="#!/guide/dev_guide.compiler.directives">Understanding Angular Directives</a> in the angular
-Developer Guide.</p></div>
View
17 0.9.19/docs-0.9.19xx/api/angular.directive.ng:autobind.html
@@ -1,17 +0,0 @@
-<h1>angular.directive.ng:autobind</h1>
-<div class="angular-directive-ng-autobind"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p><code>ng:autobind</code> with no parameters tells angular to compile and manage the whole page.</p>
-
-<p><code>ng:autobind="[root element ID]"</code> tells angular to compile and manage part of the docucment,
-starting at "root element ID".</p>
-
-<p>For details on bootstrapping angular, see <a href="#!/guide/dev_guide.bootstrap">Initializing Angular</a>
-in the Angular Developer Guide.</p></div>
-<h2>Usage</h2>
-<div class="usage"><pre class="brush: js; html-script: true;">&lt;script ng:autobind&gt;
- ...
-&lt;/script&gt;</pre>
-</div>
-</div>
View
52 0.9.19/docs-0.9.19xx/api/angular.directive.ng:bind-attr.html
@@ -1,52 +0,0 @@
-<h1>angular.directive.ng:bind-attr</h1>
-<div class="angular-directive-ng-bind-attr"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>The <code>ng:bind-attr</code> attribute specifies that
-<a href="#!/guide/dev_guide.templates.databinding">databindings</a> should be created between element
-attributes and given expressions. Unlike <code>ng:bind</code> the <code>ng:bind-attr</code> contains a JSON key value
-pairs representing which attributes need to be mapped to which
-<a href="#!/guide/dev_guide.expressions">expressions</a>.</p>
-
-<p>You don't usually write the <code>ng:bind-attr</code> in the HTML since embedding
-<tt ng:non-bindable>{{expression}}</tt> into the attribute directly as the attribute value is
-preferred. The attributes get translated into <code>&lt;span ng:bind-attr="{attr:expression}"/&gt;</code> at
-compile time.</p>
-
-<p>This HTML snippet is preferred way of working with <code>ng:bind-attr</code></p><div ng:non-bindable><pre class="brush: js; html-script: true;">
- &lt;a href="http://www.google.com/search?q={{query}}"&gt;Google&lt;/a&gt;
-</pre></div><p>The above gets translated to bellow during bootstrap time.</p><div ng:non-bindable><pre class="brush: js; html-script: true;">
- &lt;a ng:bind-attr='{"href":"http://www.google.com/search?q={{query}}"}'&gt;Google&lt;/a&gt;
-</pre></div></div>
-<h2>Usage</h2>
-<div class="usage"><pre class="brush: js; html-script: true;">&lt;ANY ng:bind-attr="attribute_json"&gt;
- ...
-&lt;/ANY&gt;</pre>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">attribute_json – {string} – </code>
-<p>a JSON key-value pairs representing
-the attributes to replace. Each key matches the attribute
-which needs to be replaced. Each value is a text template of
-the attribute with embedded
-<tt ng:non-bindable>{{expression}}</tt>s. Any number of
-key-value pairs can be specified.</p></li>
-</ul>
-</div>
-<h2>Example</h2>
-<div class="example"><p>Try it here: enter text in text box and click Google.</p><doc:example>
- <pre class="doc-source">
- Google for:
- &lt;input type="text" name="query" value="AngularJS"/&gt;
- &lt;a href="http://www.google.com/search?q={{query}}"&gt;Google&lt;/a&gt;
- </pre>
- <pre class="doc-scenario">
- it('should check ng:bind-attr', function(){
- expect(using('.doc-example-live').element('a').attr('href')).
- toBe('http://www.google.com/search?q=AngularJS');
- using('.doc-example-live').input('query').enter('google');
- expect(using('.doc-example-live').element('a').attr('href')).
- toBe('http://www.google.com/search?q=google');
- });
- </pre>
-</doc:example></div>
-</div>
View
38 0.9.19/docs-0.9.19xx/api/angular.directive.ng:bind-template.html
@@ -1,38 +0,0 @@
-<h1>angular.directive.ng:bind-template</h1>
-<div class="angular-directive-ng-bind-template"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>The <code>ng:bind-template</code> attribute specifies that the element
-text should be replaced with the template in ng:bind-template.
-Unlike ng:bind the ng:bind-template can contain multiple <code>{{</code> <code>}}</code>
-expressions. (This is required since some HTML elements
-can not have SPAN elements such as TITLE, or OPTION to name a few.)</p></div>
-<h2>Usage</h2>
-<div class="usage"><pre class="brush: js; html-script: true;">&lt;ANY ng:bind-template="template"&gt;
- ...
-&lt;/ANY&gt;</pre>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">template – {string} – </code>
-<p>of form
-<tt>{{</tt> <tt>expression</tt> <tt>}}</tt> to eval.</p></li>
-</ul>
-</div>
-<h2>Example</h2>
-<div class="example"><p>Try it here: enter text in text box and watch the greeting change.</p><doc:example>
- <pre class="doc-source">
- Salutation: &lt;input type="text" name="salutation" value="Hello"&gt;&lt;br/&gt;
- Name: &lt;input type="text" name="name" value="World"&gt;&lt;br/&gt;
- &lt;pre ng:bind-template="{{salutation}} {{name}}!"&gt;&lt;/pre&gt;
- </pre>
- <pre class="doc-scenario">
- it('should check ng:bind', function(){
- expect(using('.doc-example-live').binding('{{salutation}} {{name}}')).
- toBe('Hello World!');
- using('.doc-example-live').input('salutation').enter('Greetings');
- using('.doc-example-live').input('name').enter('user');
- expect(using('.doc-example-live').binding('{{salutation}} {{name}}')).
- toBe('Greetings user!');
- });
- </pre>
-</doc:example></div>
-</div>
View
33 0.9.19/docs-0.9.19xx/api/angular.directive.ng:bind.html
@@ -1,33 +0,0 @@
-<h1>angular.directive.ng:bind</h1>
-<div class="angular-directive-ng-bind"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>The <code>ng:bind</code> attribute asks angular to replace the text content of this
-HTML element with the value of the given expression, and to keep the text
-content up to date when the expression's value changes. Usually you would
-just write <code>{{ expression }}</code> and let angular compile it into
-<code>&lt;span ng:bind="expression"&gt;&lt;/span&gt;</code> at bootstrap time.</p></div>
-<h2>Usage</h2>
-<div class="usage"><pre class="brush: js; html-script: true;">&lt;ANY ng:bind="expression"&gt;
- ...
-&lt;/ANY&gt;</pre>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">expression – {expression} – </code>
-<p><a href="#!/guide/dev_guide.expressions">Expression</a> to eval.</p></li>
-</ul>
-</div>
-<h2>Example</h2>
-<div class="example"><p>You can try it right here: enter text in the text box and watch the greeting change.</p><doc:example>
- <pre class="doc-source">
- Enter name: &lt;input type="text" name="name" value="Whirled"&gt; &lt;br&gt;
- Hello &lt;span ng:bind="name" /&gt;!
- </pre>
- <pre class="doc-scenario">
- it('should check ng:bind', function(){
- expect(using('.doc-example-live').binding('name')).toBe('Whirled');
- using('.doc-example-live').input('name').enter('world');
- expect(using('.doc-example-live').binding('name')).toBe('world');
- });
- </pre>
-</doc:example></div>
-</div>
View
40 0.9.19/docs-0.9.19xx/api/angular.directive.ng:change.html
@@ -1,40 +0,0 @@
-<h1>angular.directive.ng:change</h1>
-<div class="angular-directive-ng-change"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>The directive executes an expression whenever the input widget changes.</p></div>
-<h2>Usage</h2>
-<div class="usage"><pre class="brush: js; html-script: true;">&lt;INPUT ng:change="expression"&gt;
- ...
-&lt;/INPUT&gt;</pre>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">expression – {expression} – </code>
-<p>to execute.</p></li>
-</ul>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- &lt;div ng:init="checkboxCount=0; textCount=0"&gt;&lt;/div&gt;
- &lt;input type="text" name="text" ng:change="textCount = 1 + textCount"&gt;
- changeCount {{textCount}}&lt;br/&gt;
- &lt;input type="checkbox" name="checkbox" ng:change="checkboxCount = 1 + checkboxCount"&gt;
- changeCount {{checkboxCount}}&lt;br/&gt;
-</pre>
-<pre class="doc-scenario">
- it('should check ng:change', function(){
- expect(binding('textCount')).toBe('0');
- expect(binding('checkboxCount')).toBe('0');
-
- using('.doc-example-live').input('text').enter('abc');
- expect(binding('textCount')).toBe('1');
- expect(binding('checkboxCount')).toBe('0');
-
-
- using('.doc-example-live').input('checkbox').check();
- expect(binding('textCount')).toBe('1');
- expect(binding('checkboxCount')).toBe('1');
- });
-</pre>
-</doc:example></div>
-</div>
View
32 0.9.19/docs-0.9.19xx/api/angular.directive.ng:checked.html
@@ -1,32 +0,0 @@
-<h1>angular.directive.ng:checked</h1>
-<div class="angular-directive-ng-checked"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>The HTML specs do not require browsers to preserve the special attributes such as checked.
-(The presence of them means true and absence means false)
-This prevents the angular compiler from correctly retrieving the binding expression.
-To solve this problem, we introduce ng:checked.</p></div>
-<h2>Usage</h2>
-<div class="usage"><pre class="brush: js; html-script: true;">&lt;ANY ng:checked="template"&gt;
- ...
-&lt;/ANY&gt;</pre>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">template – {template} – </code>
-<p>any string which can contain '{{}}' markup.</p></li>
-</ul>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- Check me to check both: &lt;input type="checkbox" name="master"&gt;&lt;br/&gt;
- &lt;input id="checkSlave" type="checkbox" ng:checked="{{master}}"&gt;
-</pre>
-<pre class="doc-scenario">
- it('should check both checkBoxes', function() {
- expect(element('.doc-example-live #checkSlave').attr('checked')).toBeFalsy();
- input('master').check();
- expect(element('.doc-example-live #checkSlave').attr('checked')).toBeTruthy();
- });
-</pre>
-</doc:example></div>
-</div>
View
39 0.9.19/docs-0.9.19xx/api/angular.directive.ng:class-even.html
@@ -1,39 +0,0 @@
-<h1>angular.directive.ng:class-even</h1>
-<div class="angular-directive-ng-class-even"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>The <code>ng:class-odd</code> and <code>ng:class-even</code> works exactly as
-<code>ng:class</code>, except it works in conjunction with <code>ng:repeat</code>
-and takes affect only on odd (even) rows.</p></div>
-<h2>Usage</h2>
-<div class="usage"><pre class="brush: js; html-script: true;">&lt;ANY ng:class-even="expression"&gt;
- ...
-&lt;/ANY&gt;</pre>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">expression – {expression} – </code>
-<p><a href="#!/guide/dev_guide.expressions">Expression</a> to eval. Must be
-inside <code>ng:repeat</code>.</p></li>
-</ul>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- &lt;ol ng:init="names=['John', 'Mary', 'Cate', 'Suz']"&gt;
- &lt;li ng:repeat="name in names"&gt;
- &lt;span ng:class-odd="'ng-format-negative'"
- ng:class-even="'ng-input-indicator-wait'"&gt;
- {{name}} &amp;nbsp; &amp;nbsp; &amp;nbsp;
- &lt;/span&gt;
- &lt;/li&gt;
- &lt;/ol&gt;
-</pre>
-<pre class="doc-scenario">
- it('should check ng:class-odd and ng:class-even', function(){
- expect(element('.doc-example-live li:first span').attr('className')).
- toMatch(/ng-format-negative/);
- expect(element('.doc-example-live li:last span').attr('className')).
- toMatch(/ng-input-indicator-wait/);
- });
-</pre>
-</doc:example></div>
-</div>
View
39 0.9.19/docs-0.9.19xx/api/angular.directive.ng:class-odd.html
@@ -1,39 +0,0 @@
-<h1>angular.directive.ng:class-odd</h1>
-<div class="angular-directive-ng-class-odd"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>The <code>ng:class-odd</code> and <code>ng:class-even</code> works exactly as
-<code>ng:class</code>, except it works in conjunction with <code>ng:repeat</code>
-and takes affect only on odd (even) rows.</p></div>
-<h2>Usage</h2>
-<div class="usage"><pre class="brush: js; html-script: true;">&lt;ANY ng:class-odd="expression"&gt;
- ...
-&lt;/ANY&gt;</pre>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">expression – {expression} – </code>
-<p><a href="#!/guide/dev_guide.expressions">Expression</a> to eval. Must be
-inside <code>ng:repeat</code>.</p></li>
-</ul>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- &lt;ol ng:init="names=['John', 'Mary', 'Cate', 'Suz']"&gt;
- &lt;li ng:repeat="name in names"&gt;
- &lt;span ng:class-odd="'ng-format-negative'"
- ng:class-even="'ng-input-indicator-wait'"&gt;
- {{name}} &amp;nbsp; &amp;nbsp; &amp;nbsp;
- &lt;/span&gt;
- &lt;/li&gt;
- &lt;/ol&gt;
-</pre>
-<pre class="doc-scenario">
- it('should check ng:class-odd and ng:class-even', function(){
- expect(element('.doc-example-live li:first span').attr('className')).
- toMatch(/ng-format-negative/);
- expect(element('.doc-example-live li:last span').attr('className')).
- toMatch(/ng-input-indicator-wait/);
- });
-</pre>
-</doc:example></div>
-</div>
View
41 0.9.19/docs-0.9.19xx/api/angular.directive.ng:class.html
@@ -1,41 +0,0 @@
-<h1>angular.directive.ng:class</h1>
-<div class="angular-directive-ng-class"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>The <code>ng:class</code> allows you to set CSS class on HTML element
-conditionally.</p></div>
-<h2>Usage</h2>
-<div class="usage"><pre class="brush: js; html-script: true;">&lt;ANY ng:class="expression"&gt;
- ...
-&lt;/ANY&gt;</pre>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">expression – {expression} – </code>
-<p><a href="#!/guide/dev_guide.expressions">Expression</a> to eval.</p></li>
-</ul>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- &lt;input type="button" value="set" ng:click="myVar='ng-input-indicator-wait'"&gt;
- &lt;input type="button" value="clear" ng:click="myVar=''"&gt;
- &lt;br&gt;
- &lt;span ng:class="myVar"&gt;Sample Text &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;
-</pre>
-<pre class="doc-scenario">
- it('should check ng:class', function(){
- expect(element('.doc-example-live span').attr('className')).not().
- toMatch(/ng-input-indicator-wait/);
-
- using('.doc-example-live').element(':button:first').click();
-
- expect(element('.doc-example-live span').attr('className')).
- toMatch(/ng-input-indicator-wait/);
-
- using('.doc-example-live').element(':button:last').click();
-
- expect(element('.doc-example-live span').attr('className')).not().
- toMatch(/ng-input-indicator-wait/);
- });
-</pre>
-</doc:example></div>
-</div>
View
32 0.9.19/docs-0.9.19xx/api/angular.directive.ng:click.html
@@ -1,32 +0,0 @@
-<h1>angular.directive.ng:click</h1>
-<div class="angular-directive-ng-click"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>The ng:click allows you to specify custom behavior when
-element is clicked.</p></div>
-<h2>Usage</h2>
-<div class="usage"><pre class="brush: js; html-script: true;">&lt;ANY ng:click="expression"&gt;
- ...
-&lt;/ANY&gt;</pre>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">expression – {expression} – </code>
-<p><a href="#!/guide/dev_guide.expressions">Expression</a> to eval upon click.</p></li>
-</ul>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- &lt;button ng:click="count = count + 1" ng:init="count=0"&gt;
- Increment
- &lt;/button&gt;
- count: {{count}}
-</pre>
-<pre class="doc-scenario">
- it('should check ng:click', function(){
- expect(binding('count')).toBe('0');
- element('.doc-example-live :button').click();
- expect(binding('count')).toBe('1');
- });
-</pre>
-</doc:example></div>
-</div>
View
91 0.9.19/docs-0.9.19xx/api/angular.directive.ng:controller.html
@@ -1,91 +0,0 @@
-<h1>angular.directive.ng:controller</h1>
-<div class="angular-directive-ng-controller"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>The <code>ng:controller</code> directive assigns behavior to a scope. This is a key aspect of how angular
-supports the principles behind the Model-View-Controller design pattern.</p>
-
-<p>MVC components in angular:</p>
-
-<ul>
-<li>Model — The Model is data in scope properties; scopes are attached to the DOM.</li>
-<li>View — The template (HTML with data bindings) is rendered into the View.</li>
-<li>Controller — The <code>ng:controller</code> directive specifies a Controller class; the class has
-methods that typically express the business logic behind the application.</li>
-</ul>
-
-<p>Note that an alternative way to define controllers is via the <code>&lt;a href="#!/api/angular.service.$route"&gt;&lt;code&gt;angular.service.$route&lt;/code&gt;&lt;/a&gt;</code>
-service.</p></div>
-<h2>Usage</h2>
-<div class="usage"><pre class="brush: js; html-script: true;">&lt;ANY ng:controller="expression"&gt;
- ...
-&lt;/ANY&gt;</pre>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">expression – {expression} – </code>
-<p>Name of a globally accessible constructor function or an
-<a href="#!/guide/dev_guide.expressions">expression</a> that on the current scope evaluates to a
-constructor function.</p></li>
-</ul>
-</div>
-<h2>Example</h2>
-<div class="example"><p>Here is a simple form for editing user contact information. Adding, removing, clearing, and
-greeting are methods declared on the controller (see source tab). These methods can
-easily be called from the angular markup. Notice that the scope becomes the <code>this</code> for the
-controller's instance. This allows for easy access to the view data from the controller. Also
-notice that any changes to the data are automatically reflected in the View without the need
-for a manual update.</p><doc:example>
- <pre class="doc-source">
- &lt;script type="text/javascript"&gt;
- function SettingsController() {
- this.name = "John Smith";
- this.contacts = [
- {type:'phone', value:'408 555 1212'},
- {type:'email', value:'john.smith@example.org'} ];
- }
- SettingsController.prototype = {
- greet: function(){
- alert(this.name);
- },
- addContact: function(){
- this.contacts.push({type:'email', value:'yourname@example.org'});
- },
- removeContact: function(contactToRemove) {
- angular.Array.remove(this.contacts, contactToRemove);
- },
- clearContact: function(contact) {
- contact.type = 'phone';
- contact.value = '';
- }
- };
- &lt;/script&gt;
- &lt;div ng:controller="SettingsController"&gt;
- Name: &lt;input type="text" name="name"/&gt;
- [ &lt;a href="" ng:click="greet()"&gt;greet&lt;/a&gt; ]&lt;br/&gt;
- Contact:
- &lt;ul&gt;
- &lt;li ng:repeat="contact in contacts"&gt;
- &lt;select name="contact.type"&gt;
- &lt;option&gt;phone&lt;/option&gt;
- &lt;option&gt;email&lt;/option&gt;
- &lt;/select&gt;
- &lt;input type="text" name="contact.value"/&gt;
- [ &lt;a href="" ng:click="clearContact(contact)"&gt;clear&lt;/a&gt;
- | &lt;a href="" ng:click="removeContact(contact)"&gt;X&lt;/a&gt; ]
- &lt;/li&gt;
- &lt;li&gt;[ &lt;a href="" ng:click="addContact()"&gt;add&lt;/a&gt; ]&lt;/li&gt;
- &lt;/ul&gt;
- &lt;/div&gt;
- </pre>
- <pre class="doc-scenario">
- it('should check controller', function(){
- expect(element('.doc-example-live div&gt;:input').val()).toBe('John Smith');
- expect(element('.doc-example-live li[ng\\:repeat-index="0"] input').val()).toBe('408 555 1212');
- expect(element('.doc-example-live li[ng\\:repeat-index="1"] input').val()).toBe('john.smith@example.org');
- element('.doc-example-live li:first a:contains("clear")').click();
- expect(element('.doc-example-live li:first input').val()).toBe('');
- element('.doc-example-live li:last a:contains("add")').click();
- expect(element('.doc-example-live li[ng\\:repeat-index="2"] input').val()).toBe('yourname@example.org');
- });
- </pre>
- </doc:example></div>
-</div>
View
36 0.9.19/docs-0.9.19xx/api/angular.directive.ng:disabled.html
@@ -1,36 +0,0 @@
-<h1>angular.directive.ng:disabled</h1>
-<div class="angular-directive-ng-disabled"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>The following markup will make the button enabled on Chrome/Firefox but not on IE8 and older IEs:</p><div ng:non-bindable><pre class="brush: js; html-script: true;">
-&lt;div ng:init="scope = { isDisabled: false }"&gt;
- &lt;button disabled="{{scope.isDisabled}}"&gt;Disabled&lt;/button&gt;
-&lt;/div&gt;
-</pre></div><p>The HTML specs do not require browsers to preserve the special attributes such as disabled.
-(The presence of them means true and absence means false)
-This prevents the angular compiler from correctly retrieving the binding expression.
-To solve this problem, we introduce ng:disabled.</p></div>
-<h2>Usage</h2>
-<div class="usage"><pre class="brush: js; html-script: true;">&lt;ANY ng:disabled="template"&gt;
- ...
-&lt;/ANY&gt;</pre>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">template – {template} – </code>
-<p>any string which can contain '{{}}' markup.</p></li>
-</ul>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- Click me to toggle: &lt;input type="checkbox" name="checked"&gt;&lt;br/&gt;
- &lt;button name="button" ng:disabled="{{checked}}"&gt;Button&lt;/button&gt;
-</pre>
-<pre class="doc-scenario">
- it('should toggle button', function() {
- expect(element('.doc-example-live :button').attr('disabled')).toBeFalsy();
- input('checked').check();
- expect(element('.doc-example-live :button').attr('disabled')).toBeTruthy();
- });
-</pre>
-</doc:example></div>
-</div>
View
55 0.9.19/docs-0.9.19xx/api/angular.directive.ng:eval-order.html
@@ -1,55 +0,0 @@
-<h1>angular.directive.ng:eval-order</h1>
-<div class="angular-directive-ng-eval-order"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>Normally the view is updated from top to bottom. This usually is
-not a problem, but under some circumstances the values for data
-is not available until after the full view is computed. If such
-values are needed before they are computed the order of
-evaluation can be changed using ng:eval-order</p></div>
-<h2>Usage</h2>
-<div class="usage"><pre class="brush: js; html-script: true;">&lt;ANY ng:eval-order="priority"&gt;
- ...
-&lt;/ANY&gt;</pre>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">priority<i>(optional=0)</i> – {integer|string} – </code>
-<p>priority integer, or FIRST, LAST constant</p></li>
-</ul>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- &lt;div&gt;TOTAL: without ng:eval-order {{ items.$sum('total') | currency }}&lt;/div&gt;
- &lt;div ng:eval-order='LAST'&gt;TOTAL: with ng:eval-order {{ items.$sum('total') | currency }}&lt;/div&gt;
- &lt;table ng:init="items=[{qty:1, cost:9.99, desc:'gadget'}]"&gt;
- &lt;tr&gt;
- &lt;td&gt;QTY&lt;/td&gt;
- &lt;td&gt;Description&lt;/td&gt;
- &lt;td&gt;Cost&lt;/td&gt;
- &lt;td&gt;Total&lt;/td&gt;
- &lt;td&gt;&lt;/td&gt;
- &lt;/tr&gt;
- &lt;tr ng:repeat="item in items"&gt;
- &lt;td&gt;&lt;input name="item.qty"/&gt;&lt;/td&gt;
- &lt;td&gt;&lt;input name="item.desc"/&gt;&lt;/td&gt;
- &lt;td&gt;&lt;input name="item.cost"/&gt;&lt;/td&gt;
- &lt;td&gt;{{item.total = item.qty * item.cost | currency}}&lt;/td&gt;
- &lt;td&gt;&lt;a href="" ng:click="items.$remove(item)"&gt;X&lt;/a&gt;&lt;/td&gt;
- &lt;/tr&gt;
- &lt;tr&gt;
- &lt;td colspan="3"&gt;&lt;a href="" ng:click="items.$add()"&gt;add&lt;/a&gt;&lt;/td&gt;
- &lt;td&gt;{{ items.$sum('total') | currency }}&lt;/td&gt;
- &lt;/tr&gt;
- &lt;/table&gt;
-</pre>
-<pre class="doc-scenario">
- it('should check ng:format', function(){
- expect(using('.doc-example-live div:first').binding("items.$sum('total')")).toBe('$9.99');
- expect(using('.doc-example-live div:last').binding("items.$sum('total')")).toBe('$9.99');
- input('item.qty').enter('2');
- expect(using('.doc-example-live div:first').binding("items.$sum('total')")).toBe('$9.99');
- expect(using('.doc-example-live div:last').binding("items.$sum('total')")).toBe('$19.98');
- });
-</pre>
-</doc:example></div>
-</div>
View
42 0.9.19/docs-0.9.19xx/api/angular.directive.ng:eval.html
@@ -1,42 +0,0 @@
-<h1>angular.directive.ng:eval</h1>
-<div class="angular-directive-ng-eval"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>The <code>ng:eval</code> allows you to execute a binding which has side effects
-without displaying the result to the user.</p></div>
-<h2>Usage</h2>
-<div class="usage"><pre class="brush: js; html-script: true;">&lt;ANY ng:eval="expression"&gt;
- ...
-&lt;/ANY&gt;</pre>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">expression – {expression} – </code>
-<p><a href="#!/guide/dev_guide.expressions">Expression</a> to eval.</p></li>
-</ul>
-</div>
-<h2>Example</h2>
-<div class="example"><p>Notice that <code>{{</code> <code>obj.multiplied = obj.a * obj.b</code> <code>}}</code> has a side effect of assigning
-a value to <code>obj.multiplied</code> and displaying the result to the user. Sometimes,
-however, it is desirable to execute a side effect without showing the value to
-the user. In such a case <code>ng:eval</code> allows you to execute code without updating
-the display.</p><doc:example>
- <pre class="doc-source">
- &lt;input name="obj.a" value="6" &gt;
-&lt;input name="obj.b" value="2"&gt;
- = {{obj.multiplied = obj.a * obj.b}} &lt;br&gt;
- &lt;span ng:eval="obj.divide = obj.a / obj.b"&gt;&lt;/span&gt;
- &lt;span ng:eval="obj.updateCount = 1 + (obj.updateCount||0)"&gt;
- &lt;/span&gt;
- &lt;tt&gt;obj.divide = {{obj.divide}}&lt;/tt&gt;&lt;br&gt;
- &lt;tt&gt;obj.updateCount = {{obj.updateCount}}&lt;/tt&gt;
- </pre>
- <pre class="doc-scenario">
- it('should check eval', function(){
- expect(binding('obj.divide')).toBe('3');
- expect(binding('obj.updateCount')).toBe('2');
- input('obj.a').enter('12');
- expect(binding('obj.divide')).toBe('6');
- expect(binding('obj.updateCount')).toBe('3');
- });
- </pre>
- </doc:example></div>
-</div>
View
36 0.9.19/docs-0.9.19xx/api/angular.directive.ng:hide.html
@@ -1,36 +0,0 @@
-<h1>angular.directive.ng:hide</h1>
-<div class="angular-directive-ng-hide"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>The <code>ng:hide</code> and <code>ng:show</code> directives hide or show a portion
-of the HTML conditionally.</p></div>
-<h2>Usage</h2>
-<div class="usage"><pre class="brush: js; html-script: true;">&lt;ANY ng:hide="expression"&gt;
- ...
-&lt;/ANY&gt;</pre>
-<h3>Parameters</h3>
-<ul class="parameters"><li><code ng:non-bindable="">expression – {expression} – </code>
-<p>If the <a href="#!/guide/dev_guide.expressions">expression</a> truthy then
-the element is shown or hidden respectively.</p></li>
-</ul>
-</div>
-<h2>Example</h2>
-<div class="example"><doc:example>
-<pre class="doc-source">
- Click me: &lt;input type="checkbox" name="checked"&gt;&lt;br/&gt;
- Show: &lt;span ng:show="checked"&gt;I show up when you checkbox is checked?&lt;/span&gt; &lt;br/&gt;
- Hide: &lt;span ng:hide="checked"&gt;I hide when you checkbox is checked?&lt;/span&gt;
-</pre>
-<pre class="doc-scenario">
- it('should check ng:show / ng:hide', function(){
- expect(element('.doc-example-live span:first:hidden').count()).toEqual(1);
- expect(element('.doc-example-live span:last:visible').count()).toEqual(1);
-
- input('checked').check();
-
- expect(element('.doc-example-live span:first:visible').count()).toEqual(1);
- expect(element('.doc-example-live span:last:hidden').count()).toEqual(1);
- });
-</pre>
-</doc:example></div>
-</div>
View
77 0.9.19/docs-0.9.19xx/api/angular.directive.ng:href.html
@@ -1,77 +0,0 @@
-<h1>angular.directive.ng:href</h1>
-<div class="angular-directive-ng-href"><fieldset class="workInProgress"><legend>Work in Progress</legend>
-This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
-<h2>Description</h2>
-<div class="description"><p>Using <tt>&lt;angular/&gt;</tt> markup like {{hash}} in an href attribute makes
-the page open to a wrong URL, if the user clicks that link before
-angular has a chance to replace the {{hash}} with actual URL, the
-link will be broken and will most likely return a 404 error.
-The <code>ng:href</code> solves this problem by placing the <code>href</code> in the
-<code>ng:</code> namespace.</p>
-