I'm doing a web application with AngularJS and made this routeprovider
to single page
angular.module("app").config(function($routeProvider){
$routeProvider.when("/Proposta", {
templateUrl:"Proposta.html",
controller :"ClienteController"
});
I have function jquery
to interact with a input
of a form on this page proposta.html
:
<script type="text/javascript">
$(function() {
$("#valor1").maskMoney({
symbol: 'R$ ',
showSymbol: true,
thousands: '.',
decimal: ',',
symbolStay: true
});
})
When I'm on page index
and I'm switching to page proposta.html
, this function does not work.