Fix EM-14: Implement (angularjs) template aware widget.