Here's a plunkr: http://plnkr.co/edit/oBUCFkWndGem3PG3LHb2?p=preview
I'm new to this, so I'm sure it's pretty sloppy. All suggestions welcomed! Within the html, you'll see my directive shortcut-new and below it a few other lines commented out. One's an emptier version of the same directive (no controller, empty link) and one is a regular div that has most of the same functionality (the directive is pretty small). Within my app, when I use the shortcut-new directive, it's the slowest. When I switch to the plain div, it's over twice as fast. On Sep 14, 2014, at 5:37 AM, steven smock <[email protected]> wrote: > It's good to hear that you're getting closer to goal, but yes, that does > sound slow. My initial thoughts are that it could be due to: (1) burdensome > compile/link code, (2) too many scopes, or (3) some unexpected interference > from the server or server-generated client content. > > Have you tried running it in the isolation of a plunk, in order to rule out > any environmental (i.e. ColdFusion/web server) weirdness? (You will need to > dump your payload to a .js file, of course, or just throw together a 200-item > generating dummy service.) > > If you do get it running in a plunk, and you are still seeing the long load > time, would you mind sharing it with us? > > Finally, which version of Angular are you using? I know a lot of recent > changes, especially on (unstable) 1.3.*, have been performance-related: > https://github.com/angular/angular.js/blob/master/CHANGELOG.md. > > -- > You received this message because you are subscribed to a topic in the Google > Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/r-TxMo1bj14/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
