Added Attribute to restrict param

-Added Attribute to restrict param
-Added config initialize for when angular passes undefined (if config is loaded in from ajax)