Sandeep Kanaparthi | 30 Jan 22:12 2016

Should I use Angular 2 for brand new App? What are the cons?

Hi,

  I am new to Angular an not a expert in front-end technologies. I am about to start building a B2B Saas application. I need to hire one or two front-end developers to help me out on the front-end as well. 

  Is it a good idea to use Angular 2? What happens to all the rich libraries like date picker, graphs etc... that are developed over the years based on Angular 1.x? Can I use those templates and libraries in Angular 2 application? How about all those popular angular 1.x templates (metronic, inspinia, unify etc...)? Can I use them as easily in Angular 2? 

  What are the disadvantages of using Angular 2 at this time?

Thanks,
Sandeep

--
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 angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
chathura widanage | 30 Jan 20:12 2016
Picon

How can I use existing jquery based plugins with angularjs 2

Assume I want to use some charts or widgets libraries which are written using jquery, within angular2 templates. In this case since angular2 doesn't allow to include js files inside the template, those widgets don't work as expected (Event listeners don't bind to the dynamic element pumped in to the index.html). In other hand if I pre include those libraries in the index.html, the same problem happens. Is there a solution for this problem?

Thanks
Chathura

--
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 angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Naftis | 29 Jan 23:59 2016
Picon

Angular2 beta 2: using the minified source breaks Plunker?

Hello, I'm playing with Angular2 and Plunker these days. In investigating an issue about binding an array of objects to a select control (https://github.com/angular/angular/issues/4843), I built a quick test case from the Plunker Angular2 TS template, which refers to beta 0. I then updated to beta 2 all the references in index.html, but as soon as I did it, the app broke with errors like "cannot find function subscribe of undefined" (yet, Rx appeared as a loaded source). Playing around a bit, I found that if I set all the sources to beta 2 and use the non minified version of angular2, the error disappears. You can find a repro here: http://plnkr.co/edit/obLw9Nm1gmltKa52RmNB?p=preview. Any hint?

--
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 angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
mat b. | 29 Jan 23:22 2016
Picon

How to get reference to a dom element (angular2-beta.1)

I have a component with a template and want to get the reference to a child div.
Tried to use ElementRef.nativeElement.querySelector("#map") but this is not working // returns null
Need the reference to use it as target for a openlayers map (http://openlayers.org/en/v3.13.0/apidoc/ol.Map.html)

thanks for any help!

--
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 angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Christoffer Skog | 29 Jan 22:14 2016
Picon

Can you choose which router-outlet to render a template into?

I asked the question here which sheds some more light on this matter: http://stackoverflow.com/questions/35093298/choose-which-router-outlet-that-should-be-used-to-render-the-content-of-a-route

But basically what I wonder is if you can choose which router-outlet to render into? Because if I have a menu component I need to have a router-outlet within that same component in order to render the route content.. Which is really bad since I don't want to render the site content into my sidebar menu... I've looked everywhere for an answer but so far come up with none. Does anyone know how to solve this? I call routerLink from the nav component but I would like to render the route content inside my core component's template, as shown in the stackoverflow question.

Would appreciate some pointers here.

--
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 angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
sateesh.d | 29 Jan 18:05 2016

Google Location Picker

Hi all.
  My requirement is to pick the current location in map....help with this.

--
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 angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Jorge Sanz Pérez | 29 Jan 17:21 2016
Picon
Gravatar

Roadmap to learn Angular 2 being new to MVC framework?

I'm new in the MVC frameworks world and I want to know what learning 
roadmap you recommend for Angular 2.

Michael Eller | 29 Jan 15:24 2016
Picon

Select Data Set Based on User Click Event

Hi Forum,

I am just starting out with angular.

What I am trying to do is this...

I have a page that displays several divs each containing a small picture and name the person.
What I want to do is when a user clicks on a given div, pass to an angular function in the controller the selected person (text or numeric value).
Then, based on that selection, take a set of data for the selected person (name, number, age, other data) that is either retrieved at the click event or page load from a database or is statically coded as an array of data in the controller....and populate a hidden div's data fields....and then show the hidden div.

Looking for a best practice to do this.

So rather than have a bunch of div containers for each person listed, just populate one based on the selected person.
I do not want to use a select dropdown for this....

Can be seen at http://www.vipersbaseballblack.com/players
That last player is responsive and is what I want all to do.

Regards,

Mike

--
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 angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Adnan Salahuddin | 29 Jan 11:37 2016
Picon
Gravatar

Get value from muliple select

Hi Folks,

I am using anuglar 2 with beta 1.

In Html:
 <select class="form-control" size="8" multiple="multiple" [(ngModel)]="selectedStudent">
<option *ngFor="#student of Students" [value]="student.StudentId">
{{student.Name}}
 
</option>
<button type="button" class="btn btn-block" (click)="StudentFunction(selectedStudent)">Value</button>

In TypeScript:
StudentFunction(item){
console.log(item);
}

I am getting only one value. how to display get more values if multiple selected?
I am waiting for you response.
Thanks

--
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 angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
NJain | 29 Jan 11:30 2016

Is single page approach advisable for bigger scalable sites

I am into development of a new website, and have chosen to go with angularjs for the UI requirements. Everything works well but now we are having some glitches for SEO.
I am getting feedback from lot of people that it is not good to go with single page approach both from SEO as well as scalability perspective.
Also in terms of SEO, I got a feedback that google is soon going to remove the crawling support for ajax-based websites (i.e. escaped_fragment part).

Can you please guide me if the above feedbacks are right and also please provide me some advice if I can look for some architectural change to make it more scalable (if required).

--
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 angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Manfred Steyer | 29 Jan 08:55 2016
Picon

AuxRoutes in Angular 2

Hi,

the few examples for AuxRoutes out there show, how to load a single component with an Aux-Route into a named router-outlet (e. g. [1]).

But I'm wondering, how to define several components that can be loaded into the same named router-outlet. For instance, if there were a router outlet <router-outlet name="aux"></router-outlet> I would need a route like /(aux:A) that loads the component A into it and a route like /(aux:B) that loads B into it.

How to accomplish that?
Do I need I child-router for such a use case or is there a better (shorter) solution?

Wishes,
Manfred


[1] http://plnkr.co/edit/JsZbuR?p=preview

--
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 angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Gmane