[AngularJS] Re: Should I use module for each web page template?

2017-09-22 Thread William Huang
Thank you Sander for your reply! On Thursday, September 21, 2017 at 11:44:07 PM UTC-7, Sander Elias wrote: > > Hi William, > > Yes, a module for each page is a good way to start. This is also known a > feature modules. Things that you share across pages go into a shared > module. Services you

[AngularJS] Re: How to upgrade from angular 1 to angular 4

2017-09-22 Thread Sander Elias
Hi Gaurav, There are 2 very separate ways to do it. The first one is gradually upgrading part by part using ngUpgrade The other way is using a slightly controversial tool

[AngularJS] Re: How to upgrade apps from angular 1 to angular 4

2017-09-22 Thread Sander Elias
Hi Gaurav, There are 2 very separate ways to do it. The first one is gradually upgrading part by part using ngUpgrade The other way is using a slightly controversial tool

[AngularJS] Re: Input Text element loses focus when Observable is active

2017-09-22 Thread Sander Elias
Hii Robert. Observables do not change the focus unless somewhere in the flow your code is causing that. If you can put a sample of this in plkr/code-pen/edit.ng/... then I will take a look at it, and help you out. (it might be that the observables change some things in the UI, that might

[AngularJS] How to upgrade apps from angular 1 to angular 4

2017-09-22 Thread Gaurav Pandey
Hi, I am new to Angular js and I was trying to find out proven ways to upgrade an existing Angular 1 app to Angular 4. What I wish to do is to be able to run the angular 1 and angular 4 components together since I do not want to migrate all at once and proceed gradually. It will be a great

[AngularJS] How to upgrade from angular 1 to angular 4

2017-09-22 Thread Gaurav Pandey
Hello Everyone, I am new to Angular js and I was trying to find out proven ways to upgrade an existing Angular 1 app to Angular 4. What I wish to do is to be able to run the angular 1 and angular 4 components together since I do not want to migrate all at once and proceed gradually. It will

[AngularJS] Angular 5 training - Nov 2017, UK

2017-09-22 Thread Remy Sharp
As part of my conference FFCONF we're running two workshops, and one of them is on Angular 5 and what's coming, run by Gerard Sans, veteran Angular developer, Google Developer Expert and trainer with years of experience. What's you'll learn on the day: - What's new in

[AngularJS] Re: how to use common Angular code

2017-09-22 Thread Reza Razavipour
On Thursday, September 21, 2017 at 2:54:14 PM UTC-7, Reza Razavipour wrote: > > I have an application that uses some third party(open source) components > for Angular4. > I have some typescript code, components and injectables. > It all lives in one angular application. > There is a second

[AngularJS] Re: how to use common Angular code

2017-09-22 Thread Reza Razavipour
I was thinking of that after Sander's comments. On Friday, September 22, 2017 at 4:57:56 AM UTC-7, Arnaud Deman wrote: > > Hi reza, > > If you use a SCM, you could create a subproject (submodule for git) as a > first step. > > Regards, > Arnaud. > > -- You received this message because you

[AngularJS] Re: Cannot read property 'subscribe' of undefined in unit test

2017-09-22 Thread Kyle Thomas
I have a RouterLinkStubDirective, etc. provided by Google describe('LoginComponent', async() => { let mockAuthenticationService: MockAuthenticationService; let mockActivatedRouter: MockActivatedRoute; let mockRouter: MockRouter; let comp: LoginComponent; let fixture:

[AngularJS] Re: how to use common Angular code

2017-09-22 Thread Arnaud Deman
Hi reza, If you use a SCM, you could create a subproject (submodule for git) as a first step. Regards, Arnaud. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from

[AngularJS] Re: Should I use module for each web page template?

2017-09-22 Thread Sander Elias
Hi William, Yes, a module for each page is a good way to start. This is also known a feature modules. Things that you share across pages go into a shared module. Services you need system-wide should go in your top module. If a module becomes a tad large, you might want to spit it out in more

[AngularJS] Re: Angular 2/4 Production Mobile Slowness

2017-09-22 Thread Sander Elias
Rob, I forgot to mention, I think it is a good idea to port your app over the the CLI! -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[AngularJS] Re: Angular 2/4 Production Mobile Slowness

2017-09-22 Thread Sander Elias
Hi Rob, Well, I'm sorry I have to break it to you, but yes, you need AOT. And modules. Lazy load everything is the track to fast applications. Also, adding a sevice worker will help by caching your resources a tad more aggressive. Regards Sander -- You received this message because you are

[AngularJS] Re: Suggestions for guided tour in Angular 2

2017-09-22 Thread Sander Elias
Hi Vladimir, Why can't you just use Hopscotch? I highly doubt that you need any angular-components in the tour itself. Also, it seems pretty self-contained. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group.

[AngularJS] Should I use module for each webpage template ?

2017-09-22 Thread William Huang
Hi All, I'm new to angular. I'm starting to build a website using angular 4.4.3. This website has : home page list page detail page submit form page thank you page Right now, I'm thinking how to use module for this website. Should I use module for each page template? For example: HomeModule for

[AngularJS] Suggestions for guided tour in Angular 2

2017-09-22 Thread Vladimir Tomasevic
So, I have found numerous packages that are perfect for my use like *Introjs, **Angular UI Tour* or *Hopscotch*, however, I need one that will work in Angular 2 and with no dependencies for other modules and frameworks like jQuery,Bootstrap ..etc. (if possible). If someone have sugestion, it

[AngularJS] Should I use module for each web page template?

2017-09-22 Thread William Huang
Hi All, I'm new to angular. I'm starting to build a website using angular 4.4.3. This website has : home page list page detail page submit form page thank you page Right now, I'm thinking how to use module for this website. Should I use module for each page template? for example: HomeModule for

[AngularJS] Angular 2/4 Production Mobile Slowness

2017-09-22 Thread Robert Heinen
Hi all, I'm failry new to the Angular world -- I've recently taken over a project written in Angular 4. We've deployed the (everything bundled up in production mode -- bundle.js is ~500kb gzipped) Speed is *alright* on Desktop -- think 8 - 10 second initial load time and then once all