I am somewhat new to ionic and am trying to add a temperature to the header of every page using a json feed that I get using http.get. What are the best practices for placing this kind of dynamic data into the header?
I would use filter which takes whatever values u give and returns with degree
On html
{{ myValueFromHTTP | myFilter}}
On JavaScript
.filter(‘myFilter’, function(x){
if(isFinite(x)){
X = x+“°”;
}
Return x;
})