// write this after imports declare var $: any; // By writing declare var angular you are simply telling Typescript to trust you that it exists, // even though it hasn't seen it be imported into the scope of this file.