title: How do I test user interface widgets?
body: <p>In angular, and in javascript in general, how to unit test action like, clicking a button should show dialog box, clicking the same button when the box is shown hides the box. My question is how to test elements dom attributes ? In GWT a pattern design called MVP ( Model View Controller ). Where The controller is tests but, not the view ! </p>