don't expect to merge this…

…pls leave feedback to improve. I'll reopen. going to point the ionic guys here so they (and then others, can add their recipes)
We can probably group this with the `declaresTemplate` code a few lines up, then resolve the type of template - either user defined or defaulting to the PhoneGap Hello World.