Thanks to and (Mgonto) for the code I used and abused to achieve a practical implementation of Google Analytics (with Ecommerce) and other 3rd Party Tracking Scripts (e.g. Google Tag Manager) within an AngularJS SPA.
Look in the YouTube video's detail for more information about the presentation and it's contents.
Meetup Group - http://www.meetup.com/AngularJS-DFW-Area/events/200507032/
#AngularJS #GoogleAnalytics #GoogleTagManager
I managed to make this code work :-)
var mi = angular.module ('myApp', [
'. / NgXXX', / / load async
'. / NgYYY', / / load async
url: '/ scripts / angular-route.js'
What is special about this code?
1. No need for the HTML Tag <script src="ngXXX.js"> Except the main module file.
2. Angular work here in the style of Node.js require() function , it detects the start of ". /" Then he makes a request to the server to fetch the file.
3. If module name does not match the filename can be given an object with two properties, see code examples.
4. All modules are loaded asynchronously.
5. I have not touched in angular.js file.
I will post the code in the coming days.
Would love to hear your ideas.
- Intersiscplinary Center HerzliyaComputers, 2000 - 2003
Cache is the new RAM | MemSQL - The Database for Speed, Scale & Simp...
This is a talk given at Defrag 2014. Screen Shot 2014-11-11 at 3.37.03 PM. One of the (few) advantages of being in technology for a long tim
AngularDart for AngularJS Developers. Introduction To The Best Angular Y...
AngularDart is a port of the acclaimed framework to the Dart platform. It is being developed by the Angular core team. In this article I wil
Software Archiblog -- בלוג ארכיטקטורת תוכנה: דפוסי עיצוב (Design Pattern...
[הפוסט נכתב בשיתוף עם רחלי אבנר, Area Architect בחברת SAP] [ליאור:] שוחחתי לפני כשבוע עם ארכיטקט ותיק בחברת תוכנה ישראלית. סיפרתי לו שאנו מע
Beyond caching: Google engineers reveal secrets to faster websites
In the fiercely competitive world of Internet services, Google constantly seeks ways to speed up the delivery of content to its hundreds of
Development Trends - What's New in the World of Web Development
This is the deck from a keynote speech I gave at an internal Intel conference discussing some of the key trends in the world of Web developm
Node.js and MongoDB Video Tutorials (5 Minutes Each) | Web Builder Zone
If you don't want something like a Joyent Nodestack to handle everything for you, you should check out this video tutorial series on how to