ng-map is not compiling in angularJS -


i included directives such ngmap,nvd3 in ang

var app = angular.module('myapp', [ 'nvd3','ngmap']);    angular.module('myapp').  controller('mainctrl', ['$scope', '$filter', '$compile',  '$http', '$q', '$log', function($scope,  $compile, $timeout, $http) {    var template = '<div class= "chartsdiv">'  							+ ' <div class="col"> <p class="graphtitle"> netspend on time </p> <nvd3 id = "chart3" options="netspendovertime_options" data="netspendovertime_data"></nvd3> </div>'  							+ ' <div class="col"> <p class="graphtitle"> google map </p>   <map center="43.07493,-89.381388" zoom="8"> </map> </div>'  							+ ' </div>';    });

ularjs application.

in controller prepared 2 dashboards 1 related nvd3 , 1 related ngmap. while rendering browser nvd3 related dashboard displaying.ngmap releated dashboard not displaying.

sample code creating template is:

did add reference on header before angular.js ?

<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=weather,visualization,panoramio"></script> 

Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -