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 characters
app.directive('upgrade1', function () { | |
return { | |
restrict: 'E', | |
templateUrl: "my_template.html", | |
scope: { | |
'info': '=info', | |
}, | |
controller: 'upgrade1', | |
} | |
}); |
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 characters
// Helps with IE debugging. | |
jQuery.extend({ | |
getScript: function(url, callback) { | |
var head = document.getElementsByTagName("head")[0]; | |
var script = document.createElement("script"); | |
var done = false; // Handle Script loading | |
script.src = url; | |
script.onload = script.onreadystatechange = function() { // Attach handlers for all browsers | |
if ( !done && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete") ) { |
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 characters
[user] | |
name = Adam Lau | |
email = $email$ | |
[push] | |
default = matching | |
[mergetool] | |
keepBackup = true | |
[merge] | |
tool = vimdiff | |
[core] |