added a widget directive demo