Adocmaster, adocdetail and ng table

The added part is for the popup in the ngTable which chooses the product when you want to add a new adocdetail.