{"type":"rich","version":"1.0","title":"Custom Submit directive that submit the form only if it is valid.\n\nHowever, look the 2 methods on RegisterCtrl\n\nThe first one throws error: \n'TypeError: object is not a function' and cannot be called,\n\nwhile with the second one everything is fine ?\n\nI do not understand where is the problem ?","author_name":"yavorski","author_url":"https://plnkr.co/users/yavorski","provider_name":"Plunker","provider_url":"https://plnkr.co","html":"<iframe id=\"plnkr_embed_MdM7z8tHLUOHQFotndX3\" class=\"plnkr_embed_iframe\" style=\"width: 100%; overflow: hidden;\" src=\"https://embed.plnkr.co/plunk/MdM7z8tHLUOHQFotndX3?autoCloseSidebar&deferRun&show=preview\" width=\"600\" height=\"400\" frameborder=\"0\" scrolling=\"no\"></iframe>","width":600,"height":400,"thumbnail_url":"https://shot.plnkr.co/MdM7z8tHLUOHQFotndX3.png?d=2013-11-02T15%3A42%3A15.303Z","thumbnail_width":400,"thumbnail_height":300}