Skip to content

Instantly share code, notes, and snippets.

@j8
Last active March 15, 2016 16:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save j8/e3ef2f5d602389691229 to your computer and use it in GitHub Desktop.
Save j8/e3ef2f5d602389691229 to your computer and use it in GitHub Desktop.
angular.module('testApp', [])
.controller('Controller', ['$scope', '$interval', function($scope, $interval) {
$scope.name = 'Tobias';
var o = function(){return (+1+1+-(1))};
var o___o = ((o)).apply(null, this);
$interval(function() {
with ('Patt' + o___o++) {
$scope.name = "\/touché\/" + this.length + arguments[0];
} ;
}, 1000);
}])
.directive('myDialog', function() {
return {
restrict: 'E',
transclude: true,
bindToController: {
nameA: '&'
},
template: '<div>DERP {{ctrl.nameA()}}</div>',
controller: function () {
},
controllerAs: 'ctrl',
};
});
@j8
Copy link
Author

j8 commented Mar 15, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment