Changed cssLoader service to resourceLoader service which can also inject javascript