[AngularJS] Clone a template with dynamic scope in directive

2015-11-01 Thread Jason Steele
Try the solution in this SO: http://stackoverflow.com/questions/21021951/directive-template-unique-ids-for-elements -- 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

[AngularJS] Duplicate entries when route changes

2015-11-01 Thread Dejan Kropec
Hi, I am having problems with webix datatable. I am bulding an application with AngularJs and ui-router . When i refresh my site, everything is O.K. But when i redirect to another view the webix datatable load duplicate entries. I am using webix and firebase integration. I think this

[AngularJS] Re: Add and Remove Class with ng-class

2015-11-01 Thread Luís Loureiro
Hi Dave! Don't worry, that code does exactly what you seem to want, it doesn't remove the other classes, only "navbar-fixed-top" gets added/removed. You can try to set the "class" attribute with a custom style and you'll see that. Regards, *Luís Loureiro* -- You received this message because

[AngularJS] How to use hrefs without triggering ui-router

2015-11-01 Thread Richard Stanton-Reid
Hi All I want to display data using a bootstrap panel. The header contains the master record. When clicked ng-click within the panel-header calls a function in the page's controller which fetches the data for the detail records. The detail records will be displayed in the panel body using

[AngularJS] Is it wise to direct people for AngularDart 1?

2015-11-01 Thread Eduardo Teixeira
Dear friends, It is not wiser to concentrate the effort on angular 2? Last post on AngularDart Blog: 15th January by Radoslav Kirov AngularDart Mailing list is a graveyard. I personaly use pre 1.0 AngularDart and did not even take the effort to upgrade to 1.0 given the team change of focus to

[AngularJS] Re: ng-src not update html src after uploading a new image

2015-11-01 Thread Sander Elias
Hi Mohamed, You are using jQuery ajax. That does operate outside angular’s change detection, so you need to notify angular that there is some stuff updated. Try this in your done callback: function (event, data) { $scope.$apply(function () { $scope.Photo =

[AngularJS] Re: How to use hrefs without triggering ui-router

2015-11-01 Thread Sander Elias
Hi Richard, I’m not entirely sure this works with ui-router. Try adding an target="_self" to your linking elements. Regards Sander ​ -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails

[AngularJS] Re: AngularJS and security

2015-11-01 Thread Sander Elias
Hi Raf, Well, all you know still apply's to a angular app. In this account angular is not different from other frameworks. Angular does take care off the stuff you put into the DOM using angular. Have a look at the $sce documentation on details

[AngularJS] Re: Duplicate entries when route changes

2015-11-01 Thread Sander Elias
Hi Dejan, It seems that you load/get your data in a place that get reinitialized during routing. You should move that to a place that only get called once. (Controllers are usually instantiated on every view, this is probably the root cause of your issue!) Regards Sander -- You received

[AngularJS] Re: What does "single unified codebase for AngularJS and AngularDart" mean?

2015-11-01 Thread Sander Elias
Hi Francesco, It means that all code for NG2 is written in typescript, and then it get's compiled into dart. This makes it easier to keep the dart version up to date. Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To

[AngularJS] Re: What does "single unified codebase for AngularJS and AngularDart" mean?

2015-11-01 Thread Eduardo Teixeira
Angular2 is written mostly in typescript then it is transpiled to JavaScript or Dart. So there are just one codebase for angular 2. Em terça-feira, 14 de outubro de 2014 04:07:48 UTC-3, Francesco Cina escreveu: > > Hi all, > > in the blog post about the release of Angular Dart 1.0 is written:

Re: [AngularJS] ng-src not update html src after uploading a new image

2015-11-01 Thread Mr. Adam
> > Even if the 2 divs inside the one controller still not changes ... I used > jquery to solve this problem and it's working > > $("#UserPhoto").attr("src", data.result.path); > but I would like to use angular to do this instead of jquery -- You received this message because you are

Re: [AngularJS] Re: ui-router and encoded url

2015-11-01 Thread Elad Rosenberg
i ended up with the regular location.href location.href = '#/candidates.html/' + savedSearchId + '?ref=&' + filterStr; On Fri, Oct 30, 2015 at 9:43 PM, Arpit wrote: > +1 > I need this too. > > On Thursday, October 29, 2015 at 9:36:22 AM UTC-7, Elad Rosenberg wrote: >> >>