Permalink panel

This is a first attempt for a permalink panel directive. I'd like to know if the general architecture is ok. I think, I start loving angularjs.... data binding is really awesome ;-)