some bug fixes for the angular directive and added some settings to angular controller
more properties added to angular config for test