Skip to content

Instantly share code, notes, and snippets.


Vlad Sternbach vsternbach

  • Tel Aviv, Israel
View GitHub Profile
vsternbach / decorators.ts
Last active Jul 13, 2016
angularjs typescript decorators
View decorators.ts
const ngApp = 'app';
//import {ngApp} from "./constants";
const module = function(moduleOrName) {
return typeof moduleOrName === "string"
? angular.module(moduleOrName)
: moduleOrName;
export function Component(options: {
You can’t perform that action at this time.