[#29317387] creating options (using single angularjs controller)