Skip to content

Instantly share code, notes, and snippets.

Avatar

Ctibor Laky luckylooke

View GitHub Profile
@luckylooke
luckylooke / angularMergePolyfill.js
Last active Nov 27, 2017
angular.merge polyfill for angular < 1.4.0
View angularMergePolyfill.js
if (!angular.merge) {
angular.merge = (function mergePollyfill() {
function setHashKey(obj, h) {
if (h) {
obj.$$hashKey = h;
} else {
delete obj.$$hashKey;
}
}
You can’t perform that action at this time.