Move JQuery closer to angular externs
Be more cautious with closure compiler
Adding type for function
Ensure property is not renamed
Prevent closure from renaming properties
Make methods private
Avoid using ids in partials