Correcting tags directive so it updates on scope changes.