I have a angularjs code about 300 lines. I want to convert this code to jquery or Ajax.
The angularjs code is about weather report.
There is controllers, directives and filters.
I do not know How to cenvert or where to start to convert them to jquery/ajax
simple code, I have as an example:
module.directive("weatheroverview",function(){
return{
restrict:"E",
scope:{
datatime:"=",
temp:"=",
wind:"="
},
templateUrl:"view/weatherReport.html"
}
})
and so on.
how can I deal with that to convert them to ajax or jquery ? should I build the directive elements with html ? any resources for that?
thanks