mardi 5 mai 2015

angular js project not working

i am working on a small project with angular js(ps:this is the first time i'm using it )and i'm blocked by this error and i don't understand why

 angular.module("jsonerator",[])
 
 
 
 .controller('theController', function ($scope) {
         
 $scope.personld = {
  "@context": {
    "schema": "http://schema.org/"
  },
  "@graph": [
    {
      "@id": "person",
      "@type": "schema:Person",
      
    }
  
 ]}
 
 
 
 $scope.personld["@graph"][0]["schema:givenName"]="";
  $scope.personld["@graph"][1]["schema:familyName"]="";



Aucun commentaire:

Enregistrer un commentaire