in stock controller checks whether an item is in stock and exposes current stock on the scope