Skip to content

Instantly share code, notes, and snippets.

Vlad Sternbach vsternbach

  • Tel Aviv, Israel
Block or report user

Report or block vsternbach

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@vsternbach
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.