Hi Sander,

more questions for your sample.
As I read the code, I see you have one component only. The page only 
displays member variables of the component and the service associated with 
it. 

I should have been more detailed. 

How would you change the example to handle lets say we have 3 components: 
component1, component2, component3 independent of another. 

Component3 has a button. When this button is clicked, an http request needs 
to be made. component1 and component2 and component3 each will contribute 
to address and the get parameters of the http request.

Hope my scenario is clearer.

On Thursday, July 20, 2017 at 12:32:42 PM UTC-7, Reza Razavipour wrote:
>
> I figured it, I changed the angular/cli to the newest version...
> All is well.
>
>
> *-    "@angular/cli": "1.3.0-beta.1",*
>
> *+    "@angular/cli": "^1.2.1",*
>
>
>
>
> On Thursday, July 20, 2017 at 12:20:37 PM UTC-7, Reza Razavipour wrote:
>>
>> Sander, 
>>
>> you are amazing, thank you so much for the effort.
>> Your sample solves my question fully.
>>
>> Now to a very new newbie question. After I clone your repo and navigate 
>> to the root directory, where package.json lives,
>> and I run npm install followed by ng serve, I get an error:
>>
>> *$ ng serve*
>>
>> *You have to be inside an angular-cli project in order to use the *
>> *serve** command.*
>>
>>
>> What am I doing wrong?
>>
>> On Wednesday, July 19, 2017 at 10:41:59 PM UTC-7, Sander Elias wrote:
>>>
>>> Hi Reza,
>>>
>>> I created a small repo 
>>> <https://github.com/SanderElias/DataSample-AngularV4/>just to 
>>> understand I got your issue right. Is this the thing 
>>> <https://sanderelias.github.io/DataSample-AngularV4/> you are trying to 
>>> do?
>>>
>>> Regards
>>> Sander
>>>
>>

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

Reply via email to