>
> I did everything step by step trying to do 'PhonecatApp' , but now in this 
> tutorial so many mistakes. Link  "<script src=
> "bower_components/angular/angular.js"></script>" 

didn't work in latest version. I replaced for "  <script src = 
"https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.min.js";>". 
Now I have a problem with ng-controller, can someone help me with it? 
It's my index.html 
"<!doctype html>
<html lang="en" ng-app="phonecatApp">
<head>
  <meta charset="utf-8">
  <title>My HTML File</title>
  <link rel="stylesheet" 
href="bower_components/bootstrap/dist/css/bootstrap.css">
  <link rel="stylesheet" href="css/app.css">
  <script src = 
"https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.min.js";>
  </script>
  <script scr="js/controllers.js"> </script>
  
</head>
<body ng-controller="PhoneListCtrl">
<ul>
  <li ng-repeat="phone in phones">
    <span>{{phone.name}}</span>
    <p>
      {{phone.snippet}}
    </p>
  </li>
</ul>
</body>
</html> "
and controllers.js
"'use strict';

/* Controllers */
var phonecatApp = angular.module('phonecatApp', []);

phonecatApp.controller('PhoneListCtrl', function ($scope) {
  $scope.phones = [
    {'name': 'Nexus S',
     'snippet': 'Fast just got faster with Nexus S.'},
    {'name': 'Motorola XOOMâ„¢ with Wi-Fi',
     'snippet': 'The Next, Next Generation tablet.'},
    {'name': 'MOTOROLA XOOMâ„¢',
     'snippet': 'The Next, Next Generation tablet.'}
  ];
}); "
Thank's for every advices.

-- 
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