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