working with parent scopes
back to master
merged with drawer directive branch