[AngularJS] Angular JS server side data rendering on page load

2017-01-04 Thread angularlearner
I am new in Angular JS and barring couple of simple POC to make AJAX call and render response in UI haven't done much. I have a servlet inside which I prepare list of data. I save the data in request doing request.setAttribute in servlet. After that I forward the control to a JSP file. My goal

[AngularJS] Angular2 i18n state

2017-01-04 Thread Martin Kuhn
Hi, does anybody of you has real world experience with i18n? I have the impression that this stuff is not really useful at this time e.g. is there a way to handle programmatic access to text resources (and so on)? Regards Martin -- You received this message because you are subscribed t

[AngularJS] Re: Compare two each function with each other

2017-01-04 Thread mahtabpirzadi
Hi please see this link , site . This link show my goal exactly . In the bottom of page there is "Mehr ..." button that when I click on it , show the other article and 25 article add every time . Now I want to do this work with angualr . SoThanks On Wednesda

[AngularJS] Multi user data binding question

2017-01-04 Thread tim garver
Hey Group, New to Angular, and i am stuck on some concepts that I am hoping you could help me understand. First: User A logs into my app and the app downloads our data model and populates the views as expected, then User B logs in and also is presented our views with remote data. If User A makes

[AngularJS] Re: Compare two each function with each other

2017-01-04 Thread mahtabpirzadi
Hi Sander Elias Thanks for your attention and guidance but I don't understand structure of your code , I should using angular , I don't have any way . Can you explain me in other way ? How I can explain more for you ? On Wednesday, January 4, 2017 at 11:39:23 AM UTC+3:30, Sander Elias wrote:

[AngularJS] Re: Coexistent of Angular1 and Angular2 Applications

2017-01-04 Thread Sander Elias
Hi Jagadesh, Have a look at this talk from Jen Bourey . It will answer your questions. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving e

[AngularJS] Coexistent of Angular1 and Angular2 Applications

2017-01-04 Thread Jagadesh Paladugula
Hello Everyone, We right now have an Angular JS app which is written on 1.4 Version. We are writing to build the new features in AngularJS2. Can both the applciations co-exisit. Will it have any pit fall, will the performace degrade happens? or will it improve? When I have searched for couple of

[AngularJS] Re: Memory Leaks in angular js application

2017-01-04 Thread Sander Elias
Hi Chetan, Without the right context, this screendump say's nothing. Are those component controllers, or normal controllers? During the record of the timeline, did you open and close parts of the application that init's and destroy's those? And so on, and so on. Memory profiling is a challenge

[AngularJS] Data persistence in iFrame hosted on Angular2

2017-01-04 Thread Shreya Ghosh
We are having an Application based on Angular2. I have an Iframe having some drop-downs,text-fields,graphs. Now my requirement is : When user will navigate from existing page to next page and again wants to revisit the previous page,the older data(state) should persist. Currently when the user

[AngularJS] Re: On bootstrap modal refresh keep my JSON data in current modal view

2017-01-04 Thread Wayne Vos
ok, i have read up a bit on $localstorage, being n newbie in angular how would i go about using localstorage, there are so many examples not sure which one would work best to learn from. -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscrib

[AngularJS] Re: Why is Angular 2.4 better than React ?

2017-01-04 Thread Prateek Tiwari
Use latest Angular 4 version instead: Read here: http://www.pixelcrayons.com/blog/industry-news/forget-angular-3-google-is-set-to-release-angular-4/ On Monday, January 2, 2017 at 1:31:28 AM UTC+5:30, Tarun Kapoor wrote: > > We have been building an Angular application for a year and have been

[AngularJS] Re: On bootstrap modal refresh keep my JSON data in current modal view

2017-01-04 Thread Sander Elias
Hi Wayne, If you save the state data to your server, and your url(router) knows how to resolve this, yes. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an emai

[AngularJS] Re: Why is Angular 2.4 better than React ?

2017-01-04 Thread Sander Elias
Hi Tarun, It is not. Neither is react better as angular. This is a moot discussion. Use the right tool for the job at hand. If needed you can combine them into the same project. React is somewhat easier to learn, Angular is more complete. Look at your current project and staff, and decide what

[AngularJS] Re: How to cache compiled templates in AngularJS ?

2017-01-04 Thread Sander Elias
Hi Andrey, Templates are cached by default in angular 1.x You can't simply cache compiled templates. There are technical reasons for this. To put this overly simple, once compiled the templates are tightly coupled to a piece of DOM, and to their place in the $scope hierarchy. It's very difficul

[AngularJS] Angular AOT CompilerFactory missing

2017-01-04 Thread tstephens
I have spent several days trying to get the AOT compiler working. There seems to be light at the end of the tunnel now, though, as the Angular code is definitely running. My problem is further discussed here

[AngularJS] Re: Contributing documentation

2017-01-04 Thread Sander Elias
Hi Yoav, I have trouble making a decision on this. My first response would be, create some documentation, and submit a pull request on it . However, you might want to submit an issue there first, discussing it before putting in all the work. There is a te

[AngularJS] Re: On bootstrap modal refresh keep my JSON data in current modal view

2017-01-04 Thread Wayne Vos
On Wednesday, 4 January 2017 10:18:21 UTC+2, Sander Elias wrote: > > Hi Wayne, > > If you want to retain information between page refreshes, you need to save > it somewhere and retrieve it upon reload. You can use localStroage, or your > server to retain this info. > > Regards > Sander > If I

[AngularJS] Re: Angular SEO

2017-01-04 Thread Sander Elias
Hi Prince, Depending on your situation you might need to prerender your results for SEO. There are a lot of articles on this if you google for it. Also there are some explanations in this group, if you search for it. Regards Sander -- You received this message because you are subscribed to th

[AngularJS] Re: Angular 2 routing and navigation menu controls

2017-01-04 Thread Sander Elias
Hi Dawg, Move the menu outside of the primary router outlet. You can use a separate outlet, or hide it when not logged in. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from

[AngularJS] Re: On bootstrap modal refresh keep my JSON data in current modal view

2017-01-04 Thread Sander Elias
Hi Wayne, If you want to retain information between page refreshes, you need to save it somewhere and retrieve it upon reload. You can use localStroage, or your server to retain this info. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular" g

[AngularJS] Re: pagination with angular 2

2017-01-04 Thread Sander Elias
Hi Vipul,, Well, use your servers API to retrieve partial results. Most servers have a way to set a starting point and the number of results needed. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and

[AngularJS] Re: Compare two each function with each other

2017-01-04 Thread Sander Elias
Hi Mahtab... Do yourself a favor and drop jQuery, (at least for a while). Try to prefer native JS over any framework/library. Will make your life a lot easier. if (resp.some(function(e) { return $scope.articles.some( func(art) { return art.Title === e.Title; }) }) ) { //