While you can serve up the angular files for the tutorial from anything,
the tutorial (and most angular tools) assume you're using Bower for the
actual libraries. The tutorial also uses NPM to do some other stuff, but I
think you wouldn't need NPM if you're running off of your own web stack
(although it would make it difficult to run protractor and karma).

So at the very least, you'll need to run bower, which requires node to be
installed, as it is a node app. You don't need to run your stuff in a
node.js server, but you do need node and npm to get bower to run.

hth

e


On Wed, Jul 9, 2014 at 5:40 PM, Chris <[email protected]> wrote:

> I thought I should try and teach myself AngularJS.  I've got a few
> websites that could probably do with updating, so thought I could try and
> kill two birds with one stone by using one of these new-fangled frameworks!
> I know that my current hosts don't support Node.js, so all I want is to use
> Angular on a standard LAMP stack (although for dev purposes, I'm running
> XAMPP on Windows).
>
> The AngularJS tutorial (https://docs.angularjs.org/tutorial) says `If you
> want to run the preconfigured local web-server and the test tools then you
> will also need Node.js v0.10.27+.` - since I don't want to run the
> preconfigured web-server, or use their test tools, I skipped this step.
> I've been given the impression that Angular does not need Node.js to run at
> all - is this correct? I checked out the angular-phonecat files to
> `C:\Users\chris\htdocs\angularjs_tutorial\angular-phonecat\app` and set
> up a subdomain `http://angularjs.localhost`, mapped to
> `C:\Users\chris\htdocs\angularjs_tutorial\angular-phonecat`, so that '
> http://angularjs.localhost/app/index.html' should work (i.e. matching the
> tutorial's URL).  I then, as directed, ran `git checkout -f step-0` (
> https://docs.angularjs.org/tutorial/step_00); the source code for
> `index.html` is as at
> http://plnkr.co/edit/qRD76u8twFpqMmcf1D1O?p=catalogue
>
> When I go to that page, I see
>
>     Nothing here {{'yet' + '!'}}
>
> instead of
>
>     Nothing here yet!
>
> I note that there *isn't* a `bower_components` directory in the current
> directory
>     - is this something handled by the preconfigured Node.js server;
>     - or is it a bug in the tutorial? (is this something to do with
> angular.seed? If so, why doesn't the tutorial mention it rather than making
> us spend hours googling to find out about it...?!)
>
> Either way, what else do I need to do / what's the best way to proceed?
> The fact that I already had the Windows git client should indicate (I
> hope!) I'm not an utter technophobic luddite (most of my job is
> programming, but I'm a chemistry graduate originally) but it does slightly
> frustrate me that developers put barriers in place to people who aren't
> total experts (although I do recognise that, although developers can't
> support all possible combinations, there is often a fine line between this
> and supporting combinations of dependencies that are most common...)
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

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

Reply via email to