removed use of $parse and added missing key `styles` to options