Last active
December 26, 2015 08:49
-
-
Save lanterndev/7125406 to your computer and use it in GitHub Desktop.
Revisions
-
Skivvies revised this gist
Jan 18, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ <head> <meta charset="utf-8" /> <title>AngularJS Plunker</title> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.9/angular.min.js"></script> <script> angular.module('broken', []) .controller('MainCtrl', function ($scope, $location) { }); -
Skivvies created this gist
Oct 23, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>AngularJS Plunker</title> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.0-rc.3/angular.min.js"></script> <script> angular.module('broken', []) .controller('MainCtrl', function ($scope, $location) { }); </script> </head> <body> <div ng-app="broken"> <h1>AngularJS with anchor link - broken by injecting $location</h1> <div ng-controller="MainCtrl"> <a href="#anchor">broken link to anchor</a> <div style="margin-top: 800px"> <a name="anchor">anchor</a> </div> </div> </div> </body> </html>