js and css all good, now just have to turn this into angular provider