Added quantity attribute to quantity directive