[AngularJS] angular's name

2017-02-27 Thread marc
It 'a trivial question. Angular or AngularJS ? Wikipedia says AngularJS

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


[AngularJS] Re: forRoot

2017-02-27 Thread jsuser


I'm sorry, but I do not understand. You can not make me a concrete example?


Il giorno martedì 21 febbraio 2017 15:39:07 UTC+1, jsuser ha scritto:
>
> Hello people,
> more I look at this function as I do not understand what is.
> what is its use?
>
> I also saw other modules to use it, as well routermodule
>
>

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


[AngularJS] Re: simple $http.get does not work

2017-02-27 Thread Sander Elias
Hi Ethiraj,

Aside from some missing closing tags, your code is ok. It runs fine in a 
plnkr 
probably your server isn't configured for CORS , 
and is that the reason you don't get a response. (CORS has nothing to do 
with angular).

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


Re: [AngularJS] Re: Not happy angular.io uses cli as default

2017-02-27 Thread reginemcfarlane via Angular and AngularJS discussion


On Tue, 2/28/17, rodman.deborah via Angular and AngularJS discussion 
 wrote:

 Subject: Re: [AngularJS] Re: Not happy angular.io uses cli as default
 To: angular@googlegroups.com
 Date: Tuesday, February 28, 2017, 12:23 AM
 
 
 
 On Mon, 2/27/17, jamesmatthews431 via Angular and AngularJS
 discussion 
 wrote:
 
  Subject: Re: [AngularJS] Re: Not happy angular.io uses cli
 as default
  To: angular@googlegroups.com
  Date: Monday, February 27, 2017, 6:05 PM
  
  
  
  On Mon, 2/27/17, chandaniel112 via Angular and AngularJS
  discussion 
  wrote:
  
   Subject: Re: [AngularJS] Re: Not happy angular.io
 uses cli
  as default
   To: angular@googlegroups.com
   Date: Monday, February 27, 2017, 8:28 AM
   
   
   
   On Sun, 2/26/17, reginemcfarlane via Angular and
 AngularJS
   discussion 
   wrote:
   
    Subject: Re: [AngularJS] Re: Not happy angular.io
  uses cli
   as default
    To: angular@googlegroups.com
    Date: Sunday, February 26, 2017, 8:26 PM
    
    
    
    On Sun, 2/26/17, 'Lucas Lacroix' via Angular and
  AngularJS
    discussion 
    wrote:
    
     Subject: Re: [AngularJS] Re: Not happy angular.io
   uses cli
    as default
     To: "Angular and AngularJS discussion" 
     Date: Sunday, February 26, 2017, 1:36 PM
     
     Whoever told
     you that you cannot debug a production build was
    incorrect.
     We debug in production all the time without issue.
 
     
     On Sun, Feb 26, 2017, 06:34 Long Field 
     wrote:
     Hi SanderLet me make this clear, I
     judge complex or flexible according the task and
   tools,
    not
     by if I know how to do something or not.
     I does not know much about
     cli, this is true and I've been told I cannot
 debug
   with
     cli production build.
     ooh, I've make myself
     lots of enemy in community.
     Thanks any
     way.
     On
     Saturday, February 25, 2017 at 9:34:57 PM UTC+11,
   Sander
     Elias wrote:Hi Long,Couple of clicks and change
 or
   add
    couple lines of
     you can have a VB application; similar as ng-cli,
   couple
    of
     switches and add couple lines or components and
 you
   have a
     ng application running! that let me to
     compare.Ease of use doesn't make
     a tool "unprofessional". Easy setup of an empty
     app-shell doesn't diminish the value of the tool.
   Then
     again, if you don't like the generation part,
 none
   is
     enforcing you to use it. You can very well use
 the
   tool
    for
     just building, and skip the generation
 completely.
      
     elaborate
     brings complex and less flexible, and the worse,
 with
   cli
     production built and I won't be able debug in
     production. You might surprise what !!! debug in
     production?There is nothing in the CLI
     that prevents you from doing this. You can use
 it
   to
    build
     a production app, including sourcemaps if that
   floats
    your
     boat.
     Also, you can eject the
     webpack-config if you need/want even more
   control over
    the
     build part.
     Sorry, but it sounds to me
     that you don't know how to do certain things with
   the
     CLI, and are blaming the tool for that. How that
   relates
    to
     your remarks of professionalism, well, I leave
 that
   up to
     you.
     If you
     build an app using the CLI it follows all the
 current
   best
     practices and the angular style-guide. Those
 things
   are
     created by professionals, for professionals. And
   made
     accessible for everyone. Even juniors are able to
   make a
     maintainable program if they just follow the
   guidelines.
    In
     my eyes, that alone makes it a tool for
   professionals. A
     tool that's easy to use? Even better, that way I
 can
     focus on my app, instead of spending time on
 things
   that I
     need to build/generate, but do not add value to
 my
   app.
     
     Well, that's just my
     2cents.RegardsSander
     
     
     
     
     -- 
     
     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 angular+unsubscr...@googlegroups.com.
     
     To post to this group, send email to angular@googlegroups.com.
     
     Visit this group at
    https://groups.google.com/group/angular.
     
     For more options, visit
    https://groups.google.com/d/optout.
     
     -- 
     Lucas LacroixComputer
     ScientistAdvanced
     Technology Division, MEDITECH781-774-2293
     
     

Re: [AngularJS] Re: Not happy angular.io uses cli as default

2017-02-27 Thread rodman.deborah via Angular and AngularJS discussion


On Mon, 2/27/17, jamesmatthews431 via Angular and AngularJS discussion 
 wrote:

 Subject: Re: [AngularJS] Re: Not happy angular.io uses cli as default
 To: angular@googlegroups.com
 Date: Monday, February 27, 2017, 6:05 PM
 
 
 
 On Mon, 2/27/17, chandaniel112 via Angular and AngularJS
 discussion 
 wrote:
 
  Subject: Re: [AngularJS] Re: Not happy angular.io uses cli
 as default
  To: angular@googlegroups.com
  Date: Monday, February 27, 2017, 8:28 AM
  
  
  
  On Sun, 2/26/17, reginemcfarlane via Angular and AngularJS
  discussion 
  wrote:
  
   Subject: Re: [AngularJS] Re: Not happy angular.io
 uses cli
  as default
   To: angular@googlegroups.com
   Date: Sunday, February 26, 2017, 8:26 PM
   
   
   
   On Sun, 2/26/17, 'Lucas Lacroix' via Angular and
 AngularJS
   discussion 
   wrote:
   
    Subject: Re: [AngularJS] Re: Not happy angular.io
  uses cli
   as default
    To: "Angular and AngularJS discussion" 
    Date: Sunday, February 26, 2017, 1:36 PM
    
    Whoever told
    you that you cannot debug a production build was
   incorrect.
    We debug in production all the time without issue. 
    
    On Sun, Feb 26, 2017, 06:34 Long Field 
    wrote:
    Hi SanderLet me make this clear, I
    judge complex or flexible according the task and
  tools,
   not
    by if I know how to do something or not.
    I does not know much about
    cli, this is true and I've been told I cannot debug
  with
    cli production build.
    ooh, I've make myself
    lots of enemy in community.
    Thanks any
    way.
    On
    Saturday, February 25, 2017 at 9:34:57 PM UTC+11,
  Sander
    Elias wrote:Hi Long,Couple of clicks and change or
  add
   couple lines of
    you can have a VB application; similar as ng-cli,
  couple
   of
    switches and add couple lines or components and you
  have a
    ng application running! that let me to
    compare.Ease of use doesn't make
    a tool "unprofessional". Easy setup of an empty
    app-shell doesn't diminish the value of the tool.
  Then
    again, if you don't like the generation part, none
  is
    enforcing you to use it. You can very well use the
  tool
   for
    just building, and skip the generation completely.
     
    elaborate
    brings complex and less flexible, and the worse, with
  cli
    production built and I won't be able debug in
    production. You might surprise what !!! debug in
    production?There is nothing in the CLI
    that prevents you from doing this. You can use it
  to
   build
    a production app, including sourcemaps if that
  floats
   your
    boat.
    Also, you can eject the
    webpack-config if you need/want even more
  control over
   the
    build part.
    Sorry, but it sounds to me
    that you don't know how to do certain things with
  the
    CLI, and are blaming the tool for that. How that
  relates
   to
    your remarks of professionalism, well, I leave that
  up to
    you.
    If you
    build an app using the CLI it follows all the current
  best
    practices and the angular style-guide. Those things
  are
    created by professionals, for professionals. And
  made
    accessible for everyone. Even juniors are able to
  make a
    maintainable program if they just follow the
  guidelines.
   In
    my eyes, that alone makes it a tool for
  professionals. A
    tool that's easy to use? Even better, that way I can
    focus on my app, instead of spending time on things
  that I
    need to build/generate, but do not add value to my
  app.
    
    Well, that's just my
    2cents.RegardsSander
    
    
    
    
    -- 
    
    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 angular+unsubscr...@googlegroups.com.
    
    To post to this group, send email to angular@googlegroups.com.
    
    Visit this group at
   https://groups.google.com/group/angular.
    
    For more options, visit
   https://groups.google.com/d/optout.
    
    -- 
    Lucas LacroixComputer
    ScientistAdvanced
    Technology Division, MEDITECH781-774-2293
    
    
    
    -- 
    
    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 angular+unsubscr...@googlegroups.com.
    
    To post to this group, send email to angular@googlegroups.com.
    
    Visit this group at
   https://groups.google.com/group/angular.
    
    For more options, visit
   

[AngularJS] simple $http.get does not work

2017-02-27 Thread Ethiraj Krishna

I am new to AngularJS.  I am trying simple html page with very simple 
AngularJS but I get blank page. Not sure why my $http.get does not return 
any values even though REST service is up and running.


*Index.html*  -http://localhost:*8443*/




Hello AngularJS Testing7
https://ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular.min.js";>


   

   
{{i.id}}. Name:  {{i.name}} 
Email :{{i.email}} 


  


*hello.js*

var app = angular.module('demo', []);
app.controller('Hello', function($scope, $http){
$http.get('http://localhost:8080/demo/all').then(function(response) {
$scope.data = response.data;
});
}); 

*REST Service running on different port*

http://localhost:8080/demo/all - return below results


[{"id":1,"name":"First","email":"someem...@someemailprovider.com'"}]

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


Re: [AngularJS] Re: Not happy angular.io uses cli as default

2017-02-27 Thread jamesmatthews431 via Angular and AngularJS discussion


On Mon, 2/27/17, chandaniel112 via Angular and AngularJS discussion 
 wrote:

 Subject: Re: [AngularJS] Re: Not happy angular.io uses cli as default
 To: angular@googlegroups.com
 Date: Monday, February 27, 2017, 8:28 AM
 
 
 
 On Sun, 2/26/17, reginemcfarlane via Angular and AngularJS
 discussion 
 wrote:
 
  Subject: Re: [AngularJS] Re: Not happy angular.io uses cli
 as default
  To: angular@googlegroups.com
  Date: Sunday, February 26, 2017, 8:26 PM
  
  
  
  On Sun, 2/26/17, 'Lucas Lacroix' via Angular and AngularJS
  discussion 
  wrote:
  
   Subject: Re: [AngularJS] Re: Not happy angular.io
 uses cli
  as default
   To: "Angular and AngularJS discussion" 
   Date: Sunday, February 26, 2017, 1:36 PM
   
   Whoever told
   you that you cannot debug a production build was
  incorrect.
   We debug in production all the time without issue. 
   
   On Sun, Feb 26, 2017, 06:34 Long Field 
   wrote:
   Hi SanderLet me make this clear, I
   judge complex or flexible according the task and
 tools,
  not
   by if I know how to do something or not.
   I does not know much about
   cli, this is true and I've been told I cannot debug
 with
   cli production build.
   ooh, I've make myself
   lots of enemy in community.
   Thanks any
   way.
   On
   Saturday, February 25, 2017 at 9:34:57 PM UTC+11,
 Sander
   Elias wrote:Hi Long,Couple of clicks and change or
 add
  couple lines of
   you can have a VB application; similar as ng-cli,
 couple
  of
   switches and add couple lines or components and you
 have a
   ng application running! that let me to
   compare.Ease of use doesn't make
   a tool "unprofessional". Easy setup of an empty
   app-shell doesn't diminish the value of the tool.
 Then
   again, if you don't like the generation part, none
 is
   enforcing you to use it. You can very well use the
 tool
  for
   just building, and skip the generation completely.
    
   elaborate
   brings complex and less flexible, and the worse, with
 cli
   production built and I won't be able debug in
   production. You might surprise what !!! debug in
   production?There is nothing in the CLI
   that prevents you from doing this. You can use it
 to
  build
   a production app, including sourcemaps if that
 floats
  your
   boat.
   Also, you can eject the
   webpack-config if you need/want even more
 control over
  the
   build part.
   Sorry, but it sounds to me
   that you don't know how to do certain things with
 the
   CLI, and are blaming the tool for that. How that
 relates
  to
   your remarks of professionalism, well, I leave that
 up to
   you.
   If you
   build an app using the CLI it follows all the current
 best
   practices and the angular style-guide. Those things
 are
   created by professionals, for professionals. And
 made
   accessible for everyone. Even juniors are able to
 make a
   maintainable program if they just follow the
 guidelines.
  In
   my eyes, that alone makes it a tool for
 professionals. A
   tool that's easy to use? Even better, that way I can
   focus on my app, instead of spending time on things
 that I
   need to build/generate, but do not add value to my
 app.
   
   Well, that's just my
   2cents.RegardsSander
   
   
   
   
   -- 
   
   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 angular+unsubscr...@googlegroups.com.
   
   To post to this group, send email to angular@googlegroups.com.
   
   Visit this group at
  https://groups.google.com/group/angular.
   
   For more options, visit
  https://groups.google.com/d/optout.
   
   -- 
   Lucas LacroixComputer
   ScientistAdvanced
   Technology Division, MEDITECH781-774-2293
   
   
   
   -- 
   
   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 angular+unsubscr...@googlegroups.com.
   
   To post to this group, send email to angular@googlegroups.com.
   
   Visit this group at
  https://groups.google.com/group/angular.
   
   For more options, visit
  https://groups.google.com/d/optout.
   ucerirea independentei de stat a Romanisi a marcat
 astfel
  un moment important pe calea realizarii deplinei unitati
  nationale  fiind  de fapt  temelia Marii
  Uniri din 1918.
  
  -- 
  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 angular+unsubscr...@googlegroups.com.
  To post to this 

[AngularJS] Re: 403 Error on Angular 2 Website that is generated using angular-cli and IIS 7.5

2017-02-27 Thread Sander Elias
403 is really a server error. If you get this while clicking in your 
application, you probably not using the routerlink directive 
 
correctly.

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


[AngularJS] Re: How to download Angular 2.0 guide as a PDF or HTML ?

2017-02-27 Thread Sander Elias
Hi InternetGuys,

Once the dust has settled a bit, the documentation team will make this 
easier IIRC.

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