Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vojtajina
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
vojtajina
14y ago
AngularJS v1.0 was released couple of weeks ago. There are too many internal apps at Google to break the API, so I wouldn't be afraid of this.
2.
▲
by
vojtajina
14y ago
You can use data-* prefix for all the directives. Btw, here's my point: The reason, why you want valid html, is to be able to use some html validator, which is super helpful, when finding bugs like unclosed div etc. However, if you prefix a
3.
▲
by
vojtajina
14y ago
I wouldn't call it polling. Angular does dirty checking at the right moment. After you bootstrap your app, nothing happens, unless: - user interacts (DOM event is fired) - response from server is back (xhr callback) - setTimeout fires - cou
4.
▲
by
vojtajina
14y ago
The template doesn't have to be inlined as a string. It can be loaded from external file (html), or included within a <script type="text/ng-template"> Having couple of util methods (forEach, isFunction, etc...), is just so that Angu