V
V
Volodya2016-03-27 20:24:47
Angular
Volodya, 2016-03-27 20:24:47

How to make Angular work on Windows 10?

Hello, I am making the simplest example of Angular + Node + Express + Git and it works until I connect Angular.
server.js

var express = require('express');
var app = express();

app.use(express.static(__dirname + '/public'));

app.listen(3000, function() {
  console.log('Server listening on port 3000');
});

index.html
<body>
  <h1>Contact List App</h1>

  <input ng-model="test">
  {{test}}
  
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.3/angular.min.js"></script>
</body>

Result
96f4b0309d6d4b8a95e176c901669b24.jpg
And it was the same in other examples, when I tried to use ionic, etc. That is, when I connect Angular through CDN and through GIT, the application refuses to work.
I've already installed the developer package from microsoft and python 2.7, and updated node with git. That is, there are no complaints in this part. I sin on win 10, but maybe that's not the point ... Please advise how to be.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Kovalsky, 2016-03-27
@Kachimov

Have you tried cleaning the monitor? Here's the simplest Angular example. Poke your finger into your code, where do you have the ng-app attribute? I see it on model, but I don’t see anyone else’s instructions. And so, by the way - there is no connection between Win10 and angular. Just like angular does not depend on the phase of the moon, the tax legislation of the country from which they visited your site and other important aspects. Angular - js library. If you have js enabled in your browser and your browser has been updated for the last 5 years, everything should work.

A
amf1k, 2016-03-27
@amf1k

How about an angular controller? and generally read the documentation of angular.

W
Web Developer Blog, 2016-03-27
@Alexey_Suprun

How everything is running

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question