javascript - Don't work placeholders in AngularJS -


I am using this project () to work with AngularJS. I must serve the service (service.latitude, Service.longitude, service.id)

app.js

  function ($ scope, marker service) {var marker collection = []; Angular.extend ($ scope, {map: {control: {}, center: {latitude: 33.5, longitude: -112}, zoom: 10, fit: right, visible: true, pan: right, option: {navigationControl: True, scale control: true}}}); Var setMapMarkers = function () {var marker = {}; Var Index = 0; Angular.forEach ($ scope.services, function) {var service = key.address; markerCollection.push (service); var serviceId = service.service.id; marker [index] = {"latitude": parseFloat (service .latitude), "longitude": parseflat (service lame)}; index ++;}); $ Scope.markers = Marker; }; SetMapMarkers (); }  

index.html

  & lt; Div class = 'map-container' ng-controller = 'MapController' & gt; & Lt; Google-map center = 'map.center' dragable = 'right' pan = 'true' zoom = 'map.jum' & gt; & Lt; Layer type = 'TransitLayer' & gt; & Lt; Marker Codes = 'm' ng-rapp = 'm in marker' & gt; & Lt; / Marker & gt; & Lt; / Layer & gt; & Lt; / Google-map & gt; & Lt; / Div & gt;  

I do not know that my problem remains in NG-repeat. Can anyone help me?

Your ng-double "markers should be" meters "

Without the marker service code it is not possible to see if you have other problems or not. Are Your Developer Console True?


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -