Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import * as angular from "angular";
import { CustomDataService } from "./services/custom-data.service";
import { CustomDataComponent } from "./components/custom-data.component";
angular.module("adb", [])
.run(["$q", ($q) => window["Promise"] = $q])
.service("customData", CustomDataService)
.component("customData", new CustomDataComponent());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.