added config.assets.enabled = false to application.rb
added window. to angular files