Skip to main content

Posts

Showing posts from March, 2016

Create mapify app using Angularjs and other frameworks

Getting prepared We will utilize the same code that we utilized as a part of the past case as a beginning stage. What’s more, it is suggested that you as of now have Bower introduced on your framework. On the off chance that you don’t have or know Bower, don’t stress, we will exhibit how to introduce it physically. At the root project folder, open your terminal window and type: bower install ngmap --save To get the directive to work properly, you need to add the Google Maps script. In this example, we will use the code directly from the Google CDN through this link: //maps.google.com/maps/api/js. Open the index.html file and add the following script tag right after the mappingService.js script: Add the ng-map script right after the Google Maps script: Don’t place any code inside the tag; when generators run any task, this block of code is always replaced. Open the app.js file and add the following highlighted code to the angularjs dependencies: angular.module('yeomana...